#include <stdio.h> #include<conio.h> int main() { int x=30; int y=40; int sum=0; clrscr(); sum=x+y; printf ("%d",sum); ret | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

#include <stdio.h> #include<conio.h> int main() { int x=30; int y=40; int sum=0; clrscr(); sum=x+y; printf ("%d",sum); ret

Please tell the error in it.

4th May 2019, 8:30 AM
Prerna Goyal
Prerna Goyal - avatar
2 Answers
4th May 2019, 9:00 AM
Daljeet Singh
Daljeet Singh - avatar
+ 1
#include<stdio.h> #include<conio.h> int main() { int x = 30; int y = 40; int sum =0; //clrscr(); sum = x+y; printf("%d", sum); return 0; }
4th May 2019, 9:09 AM
Veda Shree S
Veda Shree S - avatar