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

Write a programme using structure that create a record of students. The user allow to add a record and delete a record and also show the records in ascending order.

0 Answers   Sikkim Manipal University,


How can I change their mode to binary?

0 Answers  


Can u please send me the exam pattern and also Previous papers to javed123go@gmail.com

0 Answers  


i want explaination about the program and its stack reprasetaion fibbo(int n) { if(n==1 or n==0) return n; else return fibbo(n-1)+fibbo(n-2); } main() { fibbo(6); }

2 Answers  


write a program to remove occurrences the word from entered text?

1 Answers  






write a program to print the one dimensional array.

1 Answers  


1. Write a c pgm to print 1 to 100 without using loops. 2. Write a c pgm for leap year 3. Write a c pgm fibbonacci series,factorial 4. Write a c pgm count no of lines , blanks, tabs in a para(File concept) 5. Write a c pgm to print the letter as per given condition i.e.. if u give 4 out put should b 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 6.how do get the o/p in number from 1 to 100 in the screen without using control statement? 7. who do u print the word "hello world" without using "printf" statement? 8. write sql program to get the detail of student in a class? Definitions: structure union arrays linkedlist macros directives difference b/w pre processorsDiffrence: 1.Constructors and destructors 2.Structure and Union 3.Array and Lists 4.pre processor... 5. Privillages in C++ 6.structure and union 7.break and continue 8.while and dowhile Pgm..

3 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  


The file stdio.h, what does it contain?

0 Answers  


how to compare two strings without using strcmp() function??

1 Answers  


write a c program in such a way that if we enter the today date the output should be next day's date.

0 Answers  


How to get string length of given string in c?

0 Answers  


Categories