Programming
1
#include <stdio.h>
int main () {
int value = 8;
printf("The result of 5 + 3 is : \n %d", value);
return 0;
}
2
#include <stdio.h>
int main () {
printf(" *\n");
printf(" ***\n");
printf(" *****\n");
printf(" *******");
return 0;
}
3:
1
\n makes new line, \t makes tab, \\ will print single \
\” makes: “
So the output will be:
A (tab) B
C\D”
2
\\ makes single \
Output: new\task
4:
1
\n makes a new line so the output will be:
Option (D).
2
\t make tab, \n makes new line:
Option (B).
3
\n Makes new line: Option (A).
4
\\ makes one \
Option (C).