Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

How many errors (synax, logical or runtime) are there in the C program below includestdio.hu ain) 4B int grade; int John Smith; int Annaith double

image text in transcribed
image text in transcribed
How many errors (synax, logical or runtime) are there in the C program below includestdio.hu ain) 4B int grade; int John Smith; int Annaith double marks(10) John Smith - Annith - 35 grade - grade - John Smith, 1 grade printf("Your grade is PASS") Johaith print("Your grade is Fail) grade - d. none 18. (2.0 points) Which of the sentences below will generate an error? a. int John Smith; b. int AnnSmith; c. int grade = 100; d. int marks(10); From the following, which would be selected as an integer data type? a. value of a capacitor b. value of a resistor C. number of Inductors d. all above 13. (2.0 points) Which is the smallest data type in size from the followings? a. char b.int c. double d. long 14. (2.0 points) If you have the following code in a C program, which line will give you an error? #include main() Line 1 Line 2 Line 3 Line 4 Line 5 double No; printf("Enter The Number: "); scanf("%d",&No); printf("Your Number is: "); Line Line Line 8 a. line 5 b. line 6 c. line 7 d. lines 5 and 6 e. all line 5, 6 and 7

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

Relational Database Design With Microcomputer Applications

Authors: Glenn A. Jackson

1st Edition

0137718411, 978-0137718412

More Books

Students also viewed these Databases questions

Question

They manages a crew of flight attendants and flight stewards

Answered: 1 week ago

Question

2. Outline the business case for a diverse workforce.

Answered: 1 week ago