Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

10 Result of a logical or relational expression in Cis (a) Tue or False (b) 0 or 1 (c) a and b answers (d) none

image text in transcribed
10 Result of a logical or relational expression in Cis (a) Tue or False (b) 0 or 1 (c) a and b answers (d) none of the above 11 The format identifier d' is used for data type? (a) int (b) float (c) char (d) string 12 What will be the output when you will execute following code? int a[5] = {5, 1, 15, 20, 25: intim: i = ++a[1]: ja[0]: m ali+1; printf("%d, Xd, d". .m: (a) 2, 6, 15 (c) 3,6,20 (b) 3, 6, 15 (d) none of the above 13 The value 132.54 can represented using which data type? (a) int (b) char c) float (d) none 14 strcat() is defined in which header file? (a) ctype.h (b) stdio.h (c) string.h (d) math.h 15 Which notation provides a strict upper bound for f(n)? (a) Omega notation (b) Big O notation (c) Small o notation (d) Theta Notation 16 Array name is a pointer (a) true (b) false 17 An array elements are always stored in memory locations, (a) randomly (b) consecutive (c) stack (d) none of the above 18 What is the output of this C code? char str[] = "hello, world "; printf("%d", strlen(str)); (a) compiler error (c) 12 (b) 13 (d) none of the above

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 And SQL For DB2

Authors: James Cooper

1st Edition

1583473572, 978-1583473573

Students also viewed these Databases questions

Question

What are some of the possible scenes from our future?

Answered: 1 week ago