What will be the output for the following program segment?
int a =b+c ++ +b;
System.out.print("a=" +a) ;
Answers
Answered by
4
Coding→
______________________
#include<stdio.h>
#include<conio.h>
int main()
{ clrscr();
int a;
int b;
printf("enter the first number:");
scanf("%d",&a);
printf("enter the second number:");
scanf("%d",&b);
int c = a + b;
printf("The sum of two numbers is:%d",c);
getch();
Similar questions