Is the below declaration valid?
int* ((*x)())[2];
![]()
Practice Complicated Declarations – Is the below declaration valid?
int* ((*x)())[2];
![]()
Practice Complicated Declarations – Is the below declaration valid?
int* ((*x)())[2];
![]()
Practice Variable Number of Arguments – What is the output of the following C Program?
#include
int main()
{
static int i=i++,j=j++,k=k++;
printf("%d%d%d",i,j,k);
return 0;
} ![]()
Practice Control Instructions – What is the output of the following C Program?
#include
void main()
{
signed char i=0;
for(;i>=0;i++) ;
printf("%d
",i);
} ![]()
Practice Pointers – The syntax for constant pointer to address (i.e., fixed pointer address) is:
![]()
Practice Variable Number of Arguments – What is the output of the following C Program?
#include
void main()
{
unsigned int i=65000;
while(i++!=0);
printf("%d",i);
} ![]()
Practice C Preprocessor – Preprocessor feature that supply line numbers and filenames to compiler is called?
![]()
Practice Arrays – What is the output of the following C Program?
#include
void main()
{
int a[10];
printf("%d",*a+1-*a+3);
} ![]()
Practice Control Instructions – What is the output of the following C code?
#include
int main()
{
int i = 0;
for (foo(); i == 1; i = 2)
printf("In for loop
");
printf("After loop
");
}
int foo()
{
return 1;
} ![]()
Practice Control Instructions – What is the output of the following C Program?
#include
void main()
{
while(1){
if(printf("%d",printf("%d")))
break;
else
continue;
}
} ![]()
Practice Basic Concept – Which of the following typecasting is accepted by C?
![]()
Practice Expressions – What will be the output of the below C program.
#include
int main()
{
int i=i++,j=j++,k=k++;
printf("%d%d%d",i,j,k);
return 0;
} ![]()
Practice Strings – What is the output of this C code?
#include
void main()
{
int i;
char a[]="";
if(printf("%s
",a))
printf("Ok Done
");
else
printf("Forget it
");
} ![]()
Practice Structures, Unions, Enums – Which of the following uses structure?
![]()
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++;
} ![]()
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;
}