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
int main() { Int n=20,i; For(i=0;i<=n;i--) { Printf(“-“); Return 0;
Why ca not I do something like this?
List the difference between a 'copy constructor' and a 'assignment operator' in C?
which is an algorithm for sorting in a growing Lexicographic order
disply the following menu 1.Disply 2.Copy 3.Append; as per the menu do the file operations 4.Exit
What is the right type to use for boolean values in c? Is there a standard type?
What are c identifiers?
What are global variables and how do you declare them?
What is the value of c?
What is mean by Data Driven framework in QTP? Can any one answer me in details on this regard.
What is a rvalue?
How will you find a duplicate number in a array without negating the nos ?
what does static variable mean?
What is structure in c language?
What is selection sort in c?