Which of the following statements are correct about the program?
#inclu

Home | Discussion Forum
Taiyari24Hour

Which of the following statements are correct about the program?

#include<stdio.h>
int main()
{
printf("%p\n", main());
return 0;
}



View More Related Question

2) What will be the output of the program?

#include<stdio.h>
int check (int, int);
int main()
{
int c;
c = check(10, 20);
printf("c=%d\n", c);
return 0;
}
int check(int i, int j)
{
int *p, *q;
p=&i;
q=&j;
i>=45 ? return(*p): return(*q);
}

3) Which of the following is not a library function:

4) Point out the error in the program

#include<stdio.h>
int main()
{
int a=10;
void f();
a = f();
printf("%d\n", a);
return 0;
}
void f()
{
printf("Hi");
}

5) What will be the output of the program?

#include<stdio.h>
int main()
{
int fun(int);
int i = fun(10);
printf("%d\n", --i);
return 0;
}
int fun(int i)
{
return (i++);
}

UP Gk Online Test

taiyari24hour.com

Study 2 Online Says....
Kindly log in or signup.