#include<stdio.h>
#include<conio.h>
void main()
{
clrscr();
int a=0,b=0,c=0;
printf("enter value of a,b");
scanf("
%d %d",a,b);
c=a+b;
printf("sum is %d",c);
getch();
}
Answer Posted / hitesh kumar
enter value of a,b
10
10
sum is 0
| Is This Answer Correct ? | 2 Yes | 4 No |
Post New Answer View All Answers
Is there a way to jump out of a function or functions?
Is Exception handling possible in c language?
What are the types of operators in c?
a construct the"else" part of "if" statement contains anoth "if else" statement is called a) if-else b) else-if-else c) if-else-if-else d) chain if/if-else-if
A function can make the value of a variable available to another by a) declaring the variable as global variable b) Passing the variable as a parameter to the second function c) Either of the two methods in (A) and (B) d) binary stream
What is the total generic pointer type?
Explain what is gets() function?
Ow can I insert or delete a line (or record) in the middle of a file?
What is the purpose of sprintf?
What is the function of volatile in c language?
a) Identify the following declarations. Ex. int i (integer variable) float a[l0](array of 10 real nos) int (*f())() void *f int (*f()) [] void *f int f[] [] [] char *(*f) () int (*f[]) [] float(*f) [] [] float **f int ******f
What is mean by Data Driven framework in QTP? Can any one answer me in details on this regard.
what are the 10 different models of writing an addition program in C language?
How can I open files mentioned on the command line, and parse option flags?
Explain how do you convert strings to numbers in c?