How to add two numbers without using semicolon n c????

Answers were Sorted based on User's Feedback



How to add two numbers without using semicolon n c????..

Answer / sorab aggarwal

#include<conio.h>
#include<stdio.h>
void main()
{
if(printf("%d",5+6))
{}
getch();
}

Is This Answer Correct ?    27 Yes 8 No

How to add two numbers without using semicolon n c????..

Answer / ashish lamse

#include<iostream.h>
#include<stdio.h>
#include<conio.h>
void main()
{
if(cout<<"add of two no="<<10+20)
{}
if(getch())
{}
}

Is This Answer Correct ?    4 Yes 1 No

How to add two numbers without using semicolon n c????..

Answer / guest

int main()
{

return(5+6);
}

Is This Answer Correct ?    7 Yes 11 No

Post New Answer

More C Interview Questions

What is the use of ?

0 Answers  


How to develop software using "c" programming?

1 Answers   IBM, TCS,


What is C++

4 Answers  


what is answer for perfect number????????????????

1 Answers  


When I set a float variable to, say, 3.1, why is printf printing it as 3.0999999?

0 Answers  






Define C in your own Language.

0 Answers   Motorola,


What is double pointer?

0 Answers  


In the following code segment what will be the result of the function, value of x , value of y { unsigned int x=-1; int y; y = ~0; if(x == y) printf("same"); else printf("not same"); } a) same, MAXINT, -1 b) not same, MAXINT, -MAXINT c) same , MAXUNIT, -1 d) same, MAXUNIT, MAXUNIT e) not same, MAXINT, MAXUNIT

1 Answers   IBM,


What do you mean by a local block?

0 Answers   InterGraph,


struct node {struct node*temp,*new} prinf("%d",sizeof(struct node));

2 Answers  


What does c value mean?

0 Answers  


What is structure in c language?

0 Answers  


Categories