edited by
1,621 views
1 votes
1 votes

In the above 4 Statements which would print 123 as output ? Explain also.

edited by

Please log in or register to answer this question.

Related questions

7 votes
7 votes
3 answers
1
Parshu gate asked Nov 20, 2017
741 views
What is the output of the following program?#include<stdio.h int main() { int array[]={10, 20, 30, 40}; printf(“%d”, -2[array]); return 0; }$-60$$-30$$60$Garbage valu...
3 votes
3 votes
1 answer
2
Parshu gate asked Nov 13, 2017
1,380 views
main( ){int n[3][3] = {2, 4, 3,6, 8, 5,3, 5, 1} ;printf ( "\n%d %d %d", *n, n[3][3], n ) ;}
0 votes
0 votes
1 answer
3
Psnjit asked Jan 12, 2019
1,136 views
main(){unsigned int i= 255;char *p= &i;int j= *p;printf("%d\n", j);unsigned int k= *p;printf("%d", k);} Both the outputs are -1. I have even tried with - int i = 255(3rd ...
0 votes
0 votes
1 answer
4
Mr khan 3 asked Nov 3, 2018
977 views
#include<stdio.h void fun(int *p,int *q) { p=q; *p=q; } int i=0,j=1; int main() { fun(&i,&j); printf("%d%d",i,j); }What will be the output of i and j in 16-bit C Compiler...