?
What will be the output of the following C code?
What will be the output of the following C code?
#include <stdio.h>
void main()
{
register int x = 5;
m();
printf("x is %d", x);
}
void m()
{
x++;
}
#include <stdio.h>
void main()
{
register int x = 5;
m();
printf("x is %d", x);
}
void m()
{
x++;
}
Join the Discussion
Login to post a comment or share your explanation.
Login