Question: 1. Write four different C instructions that can be used to increment variable a : 2. Identify the printf format specifier for each data type
1. Write four different C instructions that can be used to increment variable a : 2. Identify the printf format specifier for each data type given below. char int float double 3. For the variable declared below, write a printf statement that outputs the value of the variable such that it uses 10 columns, has 3 digits to the right of the decimal point, and is right justified. Eloat fpvari 4. For the variable declared below, write a printf statement that outputs the value of the variable such that it uses 8 columns, has 1 digit to the right of the decimal point, and is left justified. double dblvar
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
