#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
What is page thrashing?
hi how to convert program from notepad to turboc editor can u please help me
You are to write your own versions of strcpy() and strlen (). Call them mystrcpy() and mystrlen(). Write them first as code within main(), not as functions, then, convert them to functions. You will pass two arrays to the function in the case of mystrcpy(), the source and target array.
WAP to accept rollno,course name & marks of a student & display grade if total marks is above 200?
What is a example of a variable?
for(i=1;i>0;i++); printf("i=%d",i); what will be the answer????
If i have an array 0 to 99 i.e,(Size 100) I place the values 1 to 100 randomly like a[0]=29,a[1]=56 upto array[99].. the values are only between 1 to 100. getting the array values by using scanf.. If i entered one wrong element value line a[56]=108. how can i find it.. and also how to find the missing value in 1 to 100.. and i want to replace the missing values.. any one of them know please post your answer..
write a c program to print the next of a particular no without using the arithmetic operator or looping statements?
When can you use a pointer with a function?
what is the difference between i++ and ++i?
What are structures and unions? State differencves between them.
differnce between do and do while