Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

(a) int 50 Which return type cannot return any value to the calling function? (b) float (c) void (d) double 51 Initializing a string can

image text in transcribed
(a) int 50 Which return type cannot return any value to the calling function? (b) float (c) void (d) double 51 Initializing a string can be done by (a) char str(20) = "Hello" (b) char str[3] = {'K',T,'\0'} (c) char *str = "Hi" (d) all of the above 52 the address of the first element in the array arr (a) arr[0] (b) arr (c) arr+1 (d) none of the above 53 When a struct type is declared, storage or memory is allocated (a) False (b) True 54 *(&num) is equivalent to writing (a) &num (b) *num (c) num (d) None of these 55 Which keyword can be used for coming out of a function? (a) continue (b) break (c) return (d) none 56 Which keyword is used to define a new structure (a) struct (b) structure (c) typedef (d) none of the above 57 Which keyword can be used for coming out of for loop? (a) continue (b) break (c) return (d) exit is a keyword used in C language to define a constant (a) #define (b) const (c) a, b (d) none of the above 59 Given an integer array arr(); the ith element can be accessed by writing (a) arr[0] (b) arr(10) (c) arr[i] (d) all of these arr[:] is equivalent to writing (arr+i). 60 (a) True (b) False

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

Database Design Query Formulation And Administration Using Oracle And PostgreSQL

Authors: Michael Mannino

8th Edition

1948426951, 978-1948426954

More Books

Students also viewed these Databases questions