Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

What is the output of C Program? 1 #include 2 #include 3 4 int main() { int a[] = { 1,2,3,4 }; int b[4] =

image text in transcribed
image text in transcribed
image text in transcribed
What is the output of C Program? 1 #include 2 #include 3 4 int main() { int a[] = { 1,2,3,4 }; int b[4] = { 5,6,7,8 }; { printf("%d, %d", a[2], b[3]); Nm 00 = 5 6 7 8 } Ltfen birini sein: a. Compiler error b. 2,7 c. 3,8 d. 1,5 Which of the following is a Scalar Data type? Ltfen birini sein: a. Pointer b. Float c. Array d. Union What is the output of this C code? 1 #include 2. 3 sint main() 4 { 5 int* ptr, a = 21; 6 6 ptr = &a; 7 *ptr += 1; 8 printf("%d,%d ", *ptr, a); 9 Nm N 000) Ltfen birini sein: a. 21,22 b. 21,21 c. 22,22 d. 22,21

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

Refactoring Databases Evolutionary Database Design

Authors: Scott Ambler, Pramod Sadalage

1st Edition

0321774515, 978-0321774514

More Books

Students also viewed these Databases questions