Logo 
Search:

C Programming FAQ

Submit Interview FAQ
Home » Interview FAQ » C ProgrammingRSS Feeds

C programming practical question 29

  Shared By: Adah Miller    Date: Jan 24    Category: C Programming    Views: 97

Answer:

main()
{
int i=400,j=300;
printf("%d..%d");
}


Answer:
400..300


Explanation:
printf takes the values of the first two assignments of the program. Any number of printf's may be given. All of them take only the first two values. If more number of assignments given in the program,then printf will take garbage values.


Share: 
 

Didn't find what you were looking for? Find more on C programming practical question 29 Or get search suggestion and latest updates.


Your Comment
  • Comment should be atleast 30 Characters.
  • Please put code inside [Code] your code [/Code].


Tagged: