Aptitude Question No.3
main()
{
int i=400,j=300; 21
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.
No comments:
Post a Comment