#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();
}
Answers were Sorted based on User's Feedback
FILE *fp1,*fp2; fp1=fopen("one","w") fp2=fopen("one","w") fputc('A',fp1) fputc('B',fp2) fclose(fp1) fclose(fp2)} a.error b. c. d.
Give a fast way to multiply a number by 7
15 Answers Accenture, Aricent, Microsoft,
How do you write a program which produces its own source code as output?
Write a program to check whether a number is prime or not using c?
What is the difference between procedural and declarative language?
What is the output for the below program? void main() { float me=1.1; double you=1.1; if(me==you) printf("love c"); else printf("know c"); }
design and implement a data structure and performs the following operation with the help of file (included 1000 student marks in 5 sub. and %also) 1.how many students are fail in all 5 subjects (if >35) 2. delete all student data those are fail in all 5 subjects. 3. update the grace marks (5 no. if exam paper is 100 marks) 4. arrange the student data in ascending order basis of marks. 5.insert double of deleted students with marks in the list.
What does sizeof int return?
What is the explanation for cyclic nature of data types in c?
which operator having highest precedence? a.)+ b.)++ c.)= d.)%
What is #define size in c?
What is the difference between volatile and const volatile?