Which of the following uses structure?

Loading

Practice Structures, Unions, Enums – Which of the following uses structure?

What is the output of the following C program?

Loading

Practice Expressions – What is the output of the following C program?


void main()
{
int i= 0;
while (i<5) {
sum (i);
i++;
} }

void sum (i)
int i;
{
static K;
print{ ("%d",K+i);
K++;
}

What will be the output of the following program.

Loading

Practice Variable Number of Arguments – What will be the output of the following program.


#include
int main()
{
static int i=5;
if(--i){
main();
printf("%d ",i);
}
return 0;
}