Read OnLine C- Program Example
| 02_VARIABLE CONCEPT | |
|---|---|
| PRAC 1 | PRAC 2 |
| //wap to print addition #include<stdio.h> #include<conio.h> void main() { int a,b,ans; clrscr(); a=5; b=7; ans=a+b; printf("%d",ans); getch(); } -----output------ 12 |
//wap to print addition #include<stdio.h> #include<conio.h> void main() { int a,b,c,ans; clrscr(); a=5; b=7; c=23; ans=a+b+c; printf("%d",ans); getch(); } -----output----- 35 |
| Previous | Next |
| Download | Download |