can we print any string in c language without using
semicolon(;)(terminator) in whole program.
Answer Posted / praveen vinny
/*
What if I want to print the sum of two numbers inside a
string without using a semicolon
*/
#include<iostream.h>
void main()
{
int a,b;
if(cout<<"Please enter two numbers : ")
if(cin>>a>>b)
if(cout<<"Sum = "<<(a+b))
}
Is This Answer Correct ? | 4 Yes | 5 No |
Post New Answer View All Answers
What's the difference between constant char *p and char * constant p?
How to write a multi-statement macro?
How many levels of pointers have?
When should I declare a function?
What is the difference between exit() and _exit() function?
int main() { Int n=20,i; For(i=0;i<=n;i--) { Printf(“-“); Return 0;
please help me..... please codes and flowchart plz turbo c lang po yan.....please asap response... 3. Make an astrology program. The user types in his or her birthday (month, day, and year as integer), and the program responds with the user’s zodiac sign, horoscope, and other information related to it. If the user’s birth year falls into a leap year, your program should display an appropriate message for it. NOTES: Conditional Statements: it should be with graphics
Tell me when is a void pointer used?
What is property type c?
In a switch statement, what will happen if a break statement is omitted?
What is the right type to use for boolean values in c? Is there a standard type? Should I use #defines or enums for the true and false values?
given post order,in order construct the corresponding binary tree
Explain function?
What is anagram in c?
What is the purpose of clrscr () printf () and getch ()?