What will be the output of the following “C” program?
Practice Basic Concept – What will be the output of the following “C” program?
int main()
{
int i = 20;
printf ("%x", i);
return 0;
}
Practice Basic Concept – What will be the output of the following “C” program?
int main()
{
int i = 20;
printf ("%x", i);
return 0;
}
Practice Basic Concept – C allows
Practice Basic Concept – C language is available for which of the following Operating System?
Practice Basic Concept – What will be output of the following “C” code?
#include
main()
{
scanf("%d");
printf();
}
which of the following is correct?
Practice Basic Concept – The following lines, if included in a program, will cause which of the following errors?
double c;
scanf(“%c”,c);
Practice Basic Concept – The following program fragment will give a ?
void main()
{
int sum, index,
-index= 50;
while (index > = 0) {
sum = sum / index;
-index;
} }
Practice Basic Concept – What will be output of the following “c” code?
#include
void main ( )
{
printf(" Hello");
printf(" world");
printf("
Cup");
}
Practice Basic Concept – What will be output of the following “c” code?
#include
void main ( )
{
printf(5+"Hello world");
}
Practice Basic Concept – What will be output of the following “c” code?
#include
void main()
{
printf("
ab");
printf(" si");
printf("
ha");
}
Practice Basic Concept – What will be output of the following “c” code?
#include
void main() {
int i = 400, j = 300;
printf("%d %d ");
}
Practice Basic Concept – What will be output of the following “c” code?
#include
void main() {
int i =400, j = 300;
printf("%d %d %d %d ");
}
Practice Basic Concept – What will be output of the following “c” code?
#include
void main( )
{
int i;
printf("%d", scanf("%d", &i));
}
If input of is given by keyboard is 10.
Practice Basic Concept – What will be output of the following “c” code?
#include
void main() {
printf("ABCDEFG");
printf(4+"ABCDEFG");
printf("ABCDEFG"+4);
printf("%c", "ABCDEFG" [4]);
printf("%c", 4["ABCDEFG"]);
}
Practice Basic Concept – To print out a and b given below, which printf() statement will be used ?
float a = 3.14;
double b = 3.14;
Practice Basic Concept – What is the output of the following C Program?
#include
int main()
{
printf("ab");
printf("si");
printf("
ha");
return 0;
}