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

how we do lcm of two no using c simple if while or for statement

1 Answers  


what is meant by c

9 Answers   INiTS,


what is the difference between #include<stdio.h> and #include "stdio.h" ?

3 Answers  


char S; char S[6]= " HELLO"; printf("%s ",S[6]); output of the above program ? (0, ASCII 0, I,unpredictable)

7 Answers   Mascot,


Explain what is a 'locale'?

0 Answers  


Can main () be called recursively?

0 Answers  


What is a memory leak? How to avoid it?

1 Answers  


1.What is a Data Structure? Explain its need? 2.What is a Directed Graph? Write an algorithm to find whether a Directed Graph is connected or not? 3.Explain the process of converting a Tree to a Binary Tree.

4 Answers   Ignou, TCS,


How we can set and clear bit in a byte using macro function?

2 Answers   L&T, Samsung,


How can I run c program?

0 Answers  


What is pragma c?

0 Answers  


simple program for virtual function?

1 Answers  


Categories