What is the output of the program

Code
  1. #include<stdio.h>

  2. int main()

  3. {

  4.   printf("%c",*"abcde");

  5.  return 0;

  6. }
Copyright GeekInterview.com

Questions by tinass

Showing Answers 1 - 6 of 6 Answers

Anik

  • Dec 22nd, 2012
 

Answer is a

  Was this answer useful?  Yes

nitin cahauhan

  • Dec 28th, 2012
 

here in printf %c is consider for only a character not for a string so it will print only first letter or character of string i.e a

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions