?
Determine Output:
Determine Output:
#include<stdio.h>
void main()
{
register i=5;
char j[]= "hello";
printf("%s %d", j, i);
}
#include<stdio.h>
void main()
{
register i=5;
char j[]= "hello";
printf("%s %d", j, i);
}
Answer & Solution
Correct Answer:
Option
A
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.
Join the Discussion
Login to post a comment or share your explanation.
Login