Computer Science, asked by amulyaap3, 1 year ago

What will be the output for the following program segment?
int a =b+c ++ +b;
System.out.print("a=" +a) ;

Answers

Answered by CH3COONa
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