Discussion :: Testing New
-
Determine Output:
#include<stdio.h>
void main()
{
register i=5;
char j[]= "hello";
printf("%s %d", j, i);
}
Answer : Option A
Explanation :
If you declare i as register compiler will treat it as ordinary integer and it will take integer value. i value may be stored either in register or in memory.
Be The First To Comment