1 what is include called in the program structure 2 what dat

1- what is #include <stdio.h> called in the program structure?

2- what data type in C represents a whole number, ie no fractional or decimal parts?

3- what is the ASCII code for a?

4- if x =7 and you excute the statement x = x+3 what is the new value of x?

5- what is 10%4 equal to?

6- what math function calculates the value of e to the x?

Solution

1. In a C program, all lines that start with # are processed by preprocessor which is a special program invoked by the compiler. #include <stdio.h> is a preprocessor directive that includes the stdio.h header file into the program

2. unsigned int datatype in C represents a whole number

3. ASCII code for a is 97

4. x=7, and x=x+3, then x=10

5. 10%4=2 (remainder of 10 when divided by 4)

6. To calculate the value of ex , use the exp(x) method of math.h library.

1- what is #include <stdio.h> called in the program structure? 2- what data type in C represents a whole number, ie no fractional or decimal parts? 3- wha

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site