Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Question 1 In C, what is the statement for preprocessor directives Answer: #define Question 2 In C, write the preprocessor directive statement to call the

image text in transcribed

image text in transcribed

image text in transcribed

image text in transcribed

image text in transcribed

image text in transcribed

image text in transcribed

image text in transcribed

Question 1 In C, what is the statement for preprocessor directives Answer: #define Question 2 In C, write the preprocessor directive statement to call the library stdio.h Answer: #include Question 3 In C, the line that starts a main function that returns an integer value to the operating system. Answer: return 0; Question 4 To end execution of the program and return control to the operating system, we use a pair of brackets Question 4 To end execution of the program and return control to the operating system, we use a pair of brackets return 0; preprocessing directive variable Question 6 In the following declaration: double x1=1, y1=5, x2=4, y2=7, side_1, side_2, distance; x1, y1, x2, y2, side_1, side_2 and distance are called constants Question 6 In the following declaration : double x1=1, y1=5, x2=4, y2=7, side 1, side_2, distance; x1, y1, x2, y2, side_1, side 2 and distance are called constants identifiers data type type specifiers Question 7 The values assigned to variables are called constants type specilers Question 7 The values assigned to variables are called constants identifiers garbage values memory snapshot Question 11 The following is the correct assignment statement for identifier 'sum' that has double as its type spe 10.5 Double sum=10.5; The following is the correct assignment statement for identifier 'sum' that has double as its type specifier and assigned the value of 10.5 Double sum=10.5; double sum=10.5; double sum 10.5 double sum; 0 / 10 points Question 12 Theminary operator'%' calculate the remainder of a division Question 12 The binary operator ' %' calculate the remainder of a division the percentage of a value division multiplication Question 13 The specifier for variable type integer is multiplication Question 13 The specifier for variable type integer is %u %lf %f %i Question 14 The specifier for input statements for variable type float is %f Question 14 The specifier for input statements for variable type float is %f %lf %d % Overall Grad

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Guide To Client Server Databases

Authors: Joe Salemi

2nd Edition

1562763105, 978-1562763107

Students also viewed these Databases questions