+ 1

Where is the error?

#include<stdio.h> int main() { int a,b,sum; scanf("%d %d" &a,&b); sum=a+b; printf("The sum is %d",&sum); return 0; }

12th Dec 2017, 12:04 PM
Tarequl Islam
Tarequl Islam - avatar
7 Respuestas
+ 6
scanf("%d %d", &a, &b); sum=a+b; printf("The sum is %d",sum);
12th Dec 2017, 12:18 PM
Мг. Кнап🌠
Мг. Кнап🌠 - avatar
+ 1
First error probably in the not clear name of topic, second error is that you dont use code playground for checking error :)
12th Dec 2017, 12:20 PM
Dima Makieiev
Dima Makieiev - avatar
+ 1
@Zahid atleast he tried.. instead of just posting the question in the name of challenge
12th Dec 2017, 12:27 PM
Мг. Кнап🌠
Мг. Кнап🌠 - avatar
0
Sololearn is not to get your homeworks done try solving your homework on your own.. don't just say it as challenge.. it's better get into it.. and understand the concepts..
12th Dec 2017, 12:24 PM
Zahid Afzal Chaudhary
Zahid Afzal Chaudhary - avatar
0
😂
12th Dec 2017, 12:24 PM
Zahid Afzal Chaudhary
Zahid Afzal Chaudhary - avatar
0
I became unable to find err.So,Ask my seniors,Not for doing my home work.#Mr_Jahid_Afzal_Chauwdary
12th Dec 2017, 12:34 PM
Tarequl Islam
Tarequl Islam - avatar