In the following C program there are two syntax errors lines
     In the following C program, there are two syntax errors.  lines and fix the errors: #include  int main (void) (int x: x = 100 printf(The value of x is id\", x); return 0;) Show the output of the following C program: # include  int main (void) (int x = 3, y = 4; x = x + y; y = y - x; printf(\"x = %d\ \", x); printf(\"y = %d\ \", y);return 0;) 
  
  Solution
In this program ; and \" is missing.
program1.c
#include<stdio.h>
 int main(void)
 {
     int x;
     x=100;
     printf(\"The value of x is %d\",x);
     return 0;
 }
    
Output:
program2.c
#include<stdio.h>
 int main(void)
 {
     int x=3,y=4;
     x=x+y;
     y=y-x;
     printf(\"x = %d\ \",x);
     printf(\"y = %d\ \",y);
     return 0;
 }
    
Output:

