C Programming - Input / Output - Discussion
Discussion Forum : Input / Output - Find Output of Program (Q.No. 8)
8.
What will be the output of the program ?
#include<stdio.h>
int main()
{
char *p;
p="%d\n";
p++;
p++;
printf(p-2, 23);
return 0;
}
Discussion:
25 comments Page 3 of 3.
Nita said:
1 decade ago
Chaudhary Paresh is right.
Sumanta Roy said:
1 decade ago
Sharaths answer is right.
Vishalakshi said:
9 years ago
Thank you @Abhinav Singh.
Frustru birdy said:
1 decade ago
Thanks chaudhary.
Arihant said:
8 years ago
Nice @Priyanka.
Post your comments here:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers