What is the output of the following C Program?
Practice Expressions – What is the output of the following C Program?
#include
void main()
{
printf("%d", (a++));
}
Practice Expressions – What is the output of the following C Program?
#include
void main()
{
printf("%d", (a++));
}
Practice Expressions – What will be output of the following “c” code?
#include
void main()
{
printf("%d",++5);
}
Practice Expressions – Which of the following comments about the ++ operators is (are) correct?
Practice Expressions – What will be the output of the below C program.
#include
int main()
{
int i = 0;
for(i = 3; i < 15; i + = 3)
{
print{("%d", i);
++i;
}
return 0;
}

Practice Expressions – What will be the final value of num1 and num2?
#include
int main()
{
long num1 = 0;
long num2 = 0;
long *pnum = NULL;
pnum = &num1;
*pnum = 2;
++num2;
num2 += *pnum;
pnum = &num2;
++*pnum;
return 0;
}

Practice Expressions – Predict the output of following “C” code:
void main()
{
int i=10,j=2,k=0,m;
m=++i&&++j&&++k;
printf("%d,%d,%d,%d",i,j,k,m);
}
What will be output of the following “C” code?

Practice Expressions – What will be output of the following “C” code?
#include
void main()
{
int i=10;
printf("%d,%d",++i,++i);
}

Practice Expressions – Predict the output of following code:
main()
{
int a=2;
if(a-- , --a, a)
printf("Tom");
else
printf("Jerry");
}
What will be output of the following “C” code?

Practice Expressions – What will be output of the following “C” code?
#include
void main()
{
int a=10,x=20;a=a++ + 10;
x=x++ + ++a;
printf("%d,%d",a,x);
}

Practice Expressions – Predict the output of following “C” code:
#include
void main()
{
int a=10,x;
x= a-- + ++a;
printf("%d",x);
}
What will be output of the following “c” code?

Practice Expressions – What will be output of the following “c” code?
#include
int main(){
int x,a=2;
x=++a,++a,a++;
printf("%d %d",x,a);
return 0;
}
What will be output of the following “c” code?

Practice Expressions – What will be output of the following “c” code?
#include
int main(){
int x,i=2;
x=~-!++i;
printf("%d",x);
return 0;
}
What will be output of the following “c” code?

Practice Expressions – What will be output of the following “c” code?
#include
int main(){
int num,i=0;
num=-++i+ ++-i;
printf("%d",num);
return 0;
}
What will be output of the following “c” code?

Practice Expressions – What will be output of the following “c” code?
#include
int main(){
int num,a=15;
num=- - - -a--;
printf("%d %d",num,a);
return 0;
}
What will be output of the following “c” code?

Practice Expressions – What will be output of the following “c” code?
#include
int main(){
int x,a=3;
x=+ +a+ + +a+ + +5;
printf("%d %d",x,a);
return 0;
}