code Snippets
What will be the output of the following programs?????
What will be the output of the following programs?????
//static var
1.int
x = 10;
static
int
y = x;
//infinite loop
2.
for
(i = 1; i != 10; i += 2)
{
printf
(
" hi "
);
}
3.int
i = 20,j;
i = (
printf
(
"Hello"
),
printf
(
"dear... "
));
printf
(
"%d"
, i);
Comments
Post a Comment