main()
{
char *p;
p="%d\n";
p++;
p++;
printf(p-2,300);
}
Answer / susie
Answer :
300
Explanation:
The pointer points to % since it is incremented twice and
again decremented by 2, it points to '%d\n' and 300 is printed.
| Is This Answer Correct ? | 8 Yes | 1 No |
const int perplexed = 2; #define perplexed 3 main() { #ifdef perplexed #undef perplexed #define perplexed 4 #endif printf("%d",perplexed); } a. 0 b. 2 c. 4 d. none of the above
Write a c program to search an element in an array using recursion
how to swap 3 nos without using temporary variable
Write a procedure to implement highlight as a blinking operation
#include<stdio.h> main() { const int i=4; float j; j = ++i; printf("%d %f", i,++j); }
What is the difference between proc means and proc tabulate ? explain with a simple example when you have to use means or tabulate?
main() { int i=-1,j=-1,k=0,l=2,m; m=i++&&j++&&k++||l++; printf("%d %d %d %d %d",i,j,k,l,m); }
main( ) { int a[2][3][2] = {{{2,4},{7,8},{3,4}},{{2,2},{2,3},{3,4}}}; printf(ā%u %u %u %d \nā,a,*a,**a,***a); printf(ā%u %u %u %d \nā,a+1,*a+1,**a+1,***a+1); }
How can you relate the function with the structure? Explain with an appropriate example.
main(){ unsigned int i; for(i=1;i>-2;i--) printf("c aptitude"); }
what is brs test reply me email me kashifabbas514@gmail.com
main() { int i=5,j=6,z; printf("%d",i+++j); }