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

What is 2c dna?

0 Answers  


What is the sizeof () a pointer?

0 Answers  


There seem to be a few missing operators ..

0 Answers  


write an interactive program to generate the divisors of a given integer.

7 Answers   TCS,


An interactive c program to read basic salary of 15 persons. each person gets 25% of basic as HRA, 15%of basic as conveyance allowances, 10%of basic as entertainment allowances.The total salary is calculated by adding basic+HRA+CA+EA.Calculate how many out of 15 get salary above 10,000.Rs also print the salary of each employee

2 Answers  






What Is The Difference Between Null And Void Pointer?

0 Answers   TCS,


Explain the difference between strcpy() and memcpy() function?

0 Answers  


main() { float f1=10.5; double db1=10.5 if(f1==db1) printf("a"); else printf("b") }

2 Answers   CSC,


write a C program, given number is double without using addt ion and multiplication operator?ex:n=6,ans=12,pls send me ans to goviseenu@gmail.com

6 Answers  


What are the phases in s/w developed life cycle? wat is the diff b/w stack & queue...where do we use stack

6 Answers  


what is the difference between #include<> and #include”…”?

5 Answers  


What does 3 mean in texting?

0 Answers  


Categories