Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

What is the result of the following statements if used in a program? int a=2; float b=3.5; int cra; printf(%d,c); a. 4.5 O b. 1.5

image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
What is the result of the following statements if used in a program? int a=2; float b=3.5; int cra; printf("%d",c); a. 4.5 O b. 1.5 O c. 3.5 O d. 2 Which of the following is valid variable name? O a. #friction b. 2_friction O c. frictions d. friction_3 Which is the correct statement to print the value of variable B? int A = 100; float B = 510.5, C = 20.75; a. printf(" Value of B= %f", B); O b. printf(" Value of B = %c, B); c. printf(" Value of B= %d , B); O d. printf(" Value of B= %s" B); Find the value of X for the given expression: X= 3 +5 %3 O a. 3 O b. 0 O c. 1 O d. 5 Choose the correct expression in C language for the given expression : Z = (x3 + Y)/K a. Z= pow(X,3) +Y/K O b. Z= (pow(X,3) + Y)/K) c. Z= (pow(X,3) +Y/K) O d. Z= (pow(X,3) + Y)/K A=10, B=5, C=3 X = A*A +C Find the value of X for the given expression. O a. 130 b. 133 c. 100 d. 103

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

More Books

Students also viewed these Databases questions