What will be the output of the following C code?
 #include <stdio.h>
					 Home | Discussion Forum
					 
						
                        
                    
                    

Taiyari24Hour

What will be the output of the following C code?

 #include <stdio.h>
int main()
{
printf("%d", d++);
}
int d = 10;



View More Related Question

2) Can variable i be accessed by functions in another source file?

 #include <stdio.h>
int i;
int main()
{
printf("%d\n", i);
}

3) What will be the output of the following C code?

 #include <stdio.h>
int x = 5;
void main()
{
int x = 3;
printf("%d", x);
{
x = 4;
}
printf("%d", x);
}

4) What will be the output of the following C code?

 #include <stdio.h>
double var = 8;
int main()
{
int var = 5;
printf("%d", var);
}

5) Which part of the program address space is p stored in the following C code?

 #include <stdio.h>
int *p;
int main()
{
int i = 0;
p = &i;
return 0;
}

UP Gk Online Test

taiyari24hour.com

Study 2 Online Says....
Kindly log in or signup.