Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

Why is event driven programming or procedural programming, better within specific scenario?

0 Answers   Wipro,


program to print upper & lower triangle of a matrix

2 Answers   TCS,


How to write a code for implementing my own printf() and scanf().... Please hep me in this... I need a guidance... Can you give an coding for c... Please also explain about the header files used other than #include<stdio.h>...

0 Answers  


What are data types in c language?

0 Answers  


What is the advantage of c?

0 Answers  


Why doesn't the code "int a = 1000, b = 1000; long int c = a * b;" work?

7 Answers  


how does printf function work

1 Answers  


What is structure padding and packing in c?

0 Answers  


Question 1: You want to conduct a survey within your classroom, on the quality of canteen’s food. You ask each of your class fellows to rank the quality of food between 1 and 5 (1 representing excellent quality and 5 representing worst quality). During the survey, you make a list containing the roll# of student and the opinion given by that student. The list can be as follow Roll # Opinion 234 1 235 1 236 5 237 1 238 2 239 3 240 5 241 5 242 1 To get the results of the survey, you need to determine the frequency of each opinion value. The frequency of an opinion is determined by counting the number of students giving that opinion. For example, for the above list the frequency of opinion value 1 is 4 and frequency of opinion value 4 is 0. After getting the frequency of each opinion, you can easily judge about the quality of the food by seeing through the frequency of each opinion. You need to develop a program to calculate the results of this survey. The program inputs the opinion of 50 students and counts the frequency of each opinion. It then displays a report showing the frequency of each opinion. Sample output: Opinion Frequency Remarks 1 5 Excellent 2 10 Good 3 15 Normal 4 10 Bad 5 10 Really bad

1 Answers  


What are # preprocessor operator in c?

0 Answers  


Can a program have two main functions?

0 Answers  


Explain null pointer.

0 Answers  


Categories