sum of two integers values only other then integer it should print invalid input.



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

Post New Answer

More C Interview Questions

What is the use of a semicolon (;) at the end of every program statement?

1 Answers  


What are the advantages of using Unions?

0 Answers   IBS,


What is the purpose of the preprocessor directive error?

0 Answers  


program to print circle structure

1 Answers  


What will be printed as the result of the operation below: #include<..> int x; int modifyvalue() { return(x+=10); } int changevalue(int x) { return(x+=1); } void main() { int x=10; x++; changevalue(x); x++; modifyvalue(); printf("First output:%d\n",x); x++; changevalue(x); printf("Second output:%d\n",x); modifyvalue(); printf("Third output:%d\n",x); }

2 Answers  






difference between loading and linking

1 Answers  


what are the program that using a two dimensional array that list the odd numbers and even numbers separately in a given 10 inputs values

0 Answers   College School Exams Tests,


write a program that will read the temperature in Celsius and convert that into Fahrenheit.

1 Answers  


consagous technology placement paper

3 Answers   Consagous, Sypra,


read the folllowing code # define MAX 100 # define MIN 100 .... .... if(x>MAX) x=1; else if(x<MIN) x=-1; x=50; if the initial value of x=200,what is the vlaue after executing this code? a.200 b.1 c.-1 d.50

4 Answers   TCS,


4.A function 'q' that accepts a pointer to a character as argument and returns a pointer to an array of integer can be declared as: A)int (*q(char*)) [] B)int *q(char*) [] C)int(*q)(char*) [] D)None of the Above

6 Answers   Accenture,


Write a program for the following series: 1*3*5-2*4*6+3*5*7-4*6*8+.................up to nterms

5 Answers   Convex Digital,


Categories