Structure can be used
![]()
Practice Structures, Unions, Enums – Structure can be used
![]()
Practice Structures, Unions, Enums – Structure can be used
![]()
Practice Variable Number of Arguments – What is the output of the program?
#include
int main()
{
extern int a;
printf("%d
",a);
return 0;
}
int a =20;
![]()
Practice Basic Concept – C language is available for which of the following Operating System?
![]()
Practice Control Instructions – What is the output of the following program ?
#include
int main()
{
int i,j;
i = j =2;
while ( --i && j++)
printf("%d %d",i,j);
return 0;
} ![]()
Practice Pointers – The size of generic pointer in c is 2 __
![]()
Practice Declarations and Initializations – What is the problem in the following declarations?
int func(int);
double func(int);
int func(float); ![]()
Practice Declarations and Initializations – What is the output of the following code?
include
void main()
{
int a=0, b=0;
a = (b =75)+9;
printf("
%d, %d ",a,b);
} ![]()
Practice Control Instructions – How many times “Nagarro” will get printed?
#include
int main()
{
int x;
for (x=-1; x<10;x++)
{
if (x<5)
continue;
else
break;
printf("Nagarro");
}
return 0;
} ![]()
Practice Functions – Which of the following function is correct that finds the length of a string?
![]()
Practice Arrays – Declare the following statement ?
“An Array of three pointers to chars”
![]()
Practice Control Instructions – The use of the break statement in switch statement is
![]()
Practice Bitwise Operators – What logic function is produced by adding an inverter to each input and the output of and OR gate?
![]()
Practice Input / Output – What will be output of the following “C” code?
take int=4,float=8,char=1
main() {
FILE *fp;
printf("%d
",sizeof(fp) );
} ![]()
Practice Basic Concept – What will be output of the following “C” code?
#include
main()
{
scanf("%d");
printf();
}which of the following is correct?
![]()
Practice Control Instructions – What will be output of the following “C” code?
int main( )
{
for( ; ;);
printf("Hello
");
return 0;
}