View Code of Problem 1

#include<stdio.h>
void main{
  int a,b;
  scanf("%d %d",&a,&b);
  printf("%d",a+b);
}
/*
Main.c:2:10: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
 void main{
          ^
*/

Double click to view unformatted code.


Back to problem 1