View Code of Problem 1

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

/*
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