What will be output of the following “c” code?
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("
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 – What will be output of the following “c” code?
#include
int main(){
printf("%d","abcde"-"abcde");
return 0;
}
Practice Basic Concept – What will be the output of the below C program.
#include
int main(){
int a= 0;
int b = 20;
char x =1;
char y =10;
if(a,b,x,y)
printf("hello");
return 0;
}
Practice Basic Concept – What is the output of the following C Program?
#include
void main()
{
int y;
scanf("%d",&y); // Given Input is 2000
if( (y%4==0 && y%100 != 0) || y%100 == 0 )
printf("%d is a leap year");
else
printf("%d is not a leap year");
}
Practice Basic Concept – What is the output of the following C Program?
#include
void main(){
int z;
z=(5,3,2);
printf("%d",z);
}
Practice Basic Concept – What is the output of the following C Program?
#include
int main()
{
printf("
ab");
printf("si");
printf("
ha");
return 0;
}
Practice Basic Concept – What is the output of the following C Program?
#include
void main(){
int i;
for(i=0;i<5;i++){
int x=0;
printf("%d",x);
x++;
}
}
Practice Basic Concept – User defined data types are:
Practice Basic Concept – Derived data types are: