View Code of Problem 1

#include<stdio.h>
2.int main(){
3.  int a,int b;
4.  scanf("%d %d",&a,&b);
5.  printf("%d",a+b);
6. return 0;
7.}

/*
Main.c:2:1: error: invalid suffix "int" on floating constant
 2.int main(){
 ^
Main.c:2:1: error: expected identifier or '(' before numeric constant
*/

Double click to view unformatted code.


Back to problem 1