What are the various Compound Assignment Operators in C++?
A preprocessor directive that can be used to turn on or off certain features is called
What is the output of the following C code?
main()
{
int a=5,b=2;
printf("%d",a+++b);
}
#include
select output of the following code
#include<iostream> using namespace std; int main(){ int a=1; cout<<(a++)*(++a)<<endl; return 0; }
#include <stdio.h>
int main()
{
int i = 3;
while (i--)
{
int i = 100;
i--;
printf("%d ", i);
}
return 0;
}
The value printed by the following program is
void f(int* p, int m) { m = m + 5; *p = *p + m; return; } void main() { int i=5, j=10; f(&i, j); printf("%d", i+j); }
What are the properties of the first argument of the printf statement?
What is the difference between errors and exceptions?
Consider the following C program:
#include <stdio.h> int main() { float sum = 0.0, j = 1.0, i = 2.0; while (i / j > 0.0625) { j = j + j; printf("%fn", sum); }; return 0; }
The number of times variable sum will be printed When the above program is executed is
OnSite
1 Openings
FullTime
Posted 17 days ago