Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1 Which of the following is a User-defined data type? (b) float (d) link list (a) int (c) pointer The format identifier %c' is used

image text in transcribed
1 Which of the following is a User-defined data type? (b) float (d) link list (a) int (c) pointer The format identifier %c' is used for (a) int (c) char 2 data type? (b) float (d) string 3 What is the size of an array name[10] of int data type? Assume int size is 2 bytes (a) 10 (c) 30 (b) 20 (d) 40 4 Which of the datatypes have size that is variable? (a) int (c) none (b) double (d) array 5 Which of the following declaration is not supported by C? (a) char name c) char name[20) (b) char *string (d) Boolean 6 What will be the output of the following C program? Int "age null; "age 20 ; Printf("%d",age) ; (a) 20 (c) run time error (b) memory address (d) compile time error 7Result of a logical or relational expression in C is (b) 0 or 1 (a) Tue or False (c) a and b answers (d) none of the above 8 When float is converted to int, the value is? (b) rounded (a) Truncated (c) depend in the compiler (d) depend in the C standard Which keyword can be used for coming out of for loop? (a) continue 9 (b) break (c) return 10 Which keyword can be used for coming out of a function? exit (a) continue c) return (b) break (d) exit 11 The keyword 'continue' cannot be simply used within: (a) while loop (c ) do while loop (b) for loop (d) if statement

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_2

Step: 3

blur-text-image_3

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

Medical Image Databases

Authors: Stephen T.C. Wong

1st Edition

1461375398, 978-1461375395

More Books

Students also viewed these Databases questions