[Updated] Goldman Sachs Aptitude Test Questions and Answers
Practice List of TCS Digital Coding Questions !!!
Take 50+ FREE!! Online Data Interpretation Mock test to crack any Exams.

C Programming :: Pointers - Discussion

Home > C Programming > Pointers > MCQs Questions Discussion

10 / 60

What is the output of the following C Program?

#include<stdio.h>
int main()
{
char *p; 
p="%d\n";
p++; p++;
printf(p-2,300);
return 0;
}

ACompilation Error

B300

Cno output No Error

DGarbage Value

ENone of these

Answer: Option (Login/Signup)

Show Explanation

Asked In :: Sopra Steria

Post Your Answer Here:     

No Discussion on this question yet!