write c program without semicolon

Answers were Sorted based on User's Feedback



write c program without semicolon..

Answer / rockabhi

int main()
{
if (printf(" d" Hello"))
{
// EMPTY
}
}

Is This Answer Correct ?    38 Yes 11 No

write c program without semicolon..

Answer / s.venmathi

#include<stdio.h>
#include<conio.h>
void main()
{
if(printf("HELLO"))
{
}
}

Is This Answer Correct ?    20 Yes 0 No

write c program without semicolon..

Answer / ramya

main
{
if(printf("%d %d %d",10,010,0x0))
{
}
}
o/p:10,8,16

Is This Answer Correct ?    6 Yes 1 No

write c program without semicolon..

Answer / sumit

int main()
{
if(printf("hello"))
{
}
}

Is This Answer Correct ?    4 Yes 0 No

write c program without semicolon..

Answer / saurabh rakhecha

int main()
{
if (printf(" Hello"))
{
// EMPTY
}
}

Is This Answer Correct ?    4 Yes 1 No

write c program without semicolon..

Answer / saranya

#include<iostream.h>
#include<conio.h>
int main()
(
if(printf("welcome"))
}

Is This Answer Correct ?    9 Yes 7 No

write c program without semicolon..

Answer / ramya

#include<stdio.h>
void main()
{
if(printf("sum=%d",(10+20))
{
}
}

Is This Answer Correct ?    1 Yes 0 No

write c program without semicolon..

Answer / priyanka mali

void main()
{
}

Is This Answer Correct ?    1 Yes 0 No

write c program without semicolon..

Answer / ashu

c program

Is This Answer Correct ?    5 Yes 5 No

write c program without semicolon..

Answer / anu

#include<stdio.h>
#include<conio.h>
#define SEMICOLON ;
void main()
{
printf("hELLO") SEMICOLON
getch() SEMICOLON
}

Is This Answer Correct ?    0 Yes 3 No

Post New Answer

More C Interview Questions

the maximum length of a character constant can be a) 1 character b) 8 characters c) 256 chaacters d) 125 characters

0 Answers  


64/square(4)

1 Answers  


#include<stdio.h> int main() { int a[3][3][2]= {1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18}; printf("%d\n",*(*(*a+1)); return 0; } What will be the output of the above question? And how?

1 Answers   Groupon,


write a recursive program in'c'to find whether a given five digit number is a palindrome or not

2 Answers  


#include<stdio.h> #include<conio.h> void main() { char ch='\356'; printf("%d",ch); } o/p=-18 why?plz.explain

2 Answers  






what is the self-referential structure?

1 Answers  


What is a ternary operator in c?

0 Answers  


What is c variable?

0 Answers  


What is the package for freshers(Non IIT) in amazon(hyderabad). And what is the same for those who are a contract employee.

0 Answers  


Which is not valid in C a) class aClass{public:int x;}; b) /* A comment */ c) char x=12;

0 Answers  


Ow can I insert or delete a line (or record) in the middle of a file?

0 Answers  


how can we Declare a variable in c without defining it.

1 Answers   TCS,


Categories