How to add two numbers without using semicolon n c????
Answers were Sorted based on User's Feedback
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 |
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 |
WAP that prints the number from 1 to 100. but for multiplies of three print "XXX" instead of the number and for the multiplies of five print "YYY" . for number which are multiplies of both three and five print "ZZZ"
How can I get random integers in a certain range?
WHAT IS LOW LEVEL LANGUAGE?
What are the advantages of using new operator as compared to the function malloc ()?
Why do we use return in c?
main(){char *str;scanf("%s",str);printf("%s",str); }The error in the above program is: a) Variable 'str' is not initialised b) Format control for a string is not %s c) Parameter to scanf is passed by value. It should be an address d) none
Write a c program to enter a string of paragraph and replacing a particular word which is repeated in the paragraph by another word?
2 Answers ME, Synfusion, Wipro,
What does the c preprocessor do?
What’s a signal? Explain what do I use signals for?
Explain how can I write functions that take a variable number of arguments?
What is the default value of local and global variables in c?
Write a c program to demonstrate Type casting in c?