sum of two integers values only other then integer it should print invalid input.
Answer / ahamadbasha
sample output 1
4
5
sum=9
sample output 2
a
b
invalid input
| Is This Answer Correct ? | 3 Yes | 0 No |
What does sizeof int return?
to find the program of matrix multiplication using arrays
Is there anything like an ifdef for typedefs?
2. What does static variable mean?
Differentiate between the expression “++a” and “a++”?
What is binary tree in c?
Illustrate it summing the series 2+4+6+......to n terms using (i) while loop (ii) do-while loop
#define swap1(a,b) a=a+b;b=a-b;a=a-b; main() { int x=5,y=10; swap1(x,y); printf("%d %d\n",x,y); swap2(x,y); printf("%d %d\n",x,y); } int swap2(int a,int b) { int temp; temp=a; b=a; a=temp; return; } what are the outputs?
how to find your architecture is LittleEndian or BigEndian?
What is const keyword in c?
Explain which function in c can be used to append a string to another string?
HOW TO FIND OUT THE RREVERS OF A GIVEN DIGIT NUMBER IF IT IS INPUT THROUGH THE KEYBORD BY USING C LANGUAGE