Computer Science Engineering (CSE) Exam  >  Computer Science Engineering (CSE) Questions  >  What is printed by ANSI C programme#include&l... Start Learning for Free
What is printed by ANSI C programme
#include<stdio.h>
int main (int arge, char * argc [])
{
int a [3][3][3]= {{1, 2, 3, 4, 5, 6, 7, 8, 9}{10, 11, 12, 13, 14, 15, 16, 17, 18} {19, 20, 21, 22, 23, 24, 25, 26, 27}};
int i= 0, j= 0, k=0;
for (i = 0; i< 3; i++)
{ for(k = 0; k<3; k++)
printf(“%d”, a [i][j][k]); printf(“\n”);}
return 0; 
}
  • a)
  • b)
  • c)
  • d)
Correct answer is option 'A'. Can you explain this answer?
Most Upvoted Answer
What is printed by ANSI C programme#include<stdio.h>int main (in...
j = k = i = 0
a[3][3][3] = {{1, 2, 3, ......9}, → a[0] (First 2-D array)
{10, 11,......18}, → a[1] (Second 2-D array)
{19, .....27}} → a[2] (Third 2D array)
In short, there are total third 2D arrays, and in the code we need to find first row of each 2D array i.e.
1, 2, 3        First row of first 2-D array
10, 11, 12    First row of second 2-D array
19, 20, 21    First row of third 2-D array
Explore Courses for Computer Science Engineering (CSE) exam

Top Courses for Computer Science Engineering (CSE)

What is printed by ANSI C programme#include<stdio.h>int main (int arge, char * argc []){int a [3][3][3]= {{1, 2, 3, 4, 5, 6, 7, 8, 9}{10, 11, 12, 13, 14, 15, 16, 17, 18} {19, 20, 21, 22, 23, 24, 25, 26, 27}};int i= 0, j= 0, k=0;for (i = 0; i< 3; i++){ for(k = 0; k<3; k++)printf(“%d”, a [i][j][k]); printf(“\n”);}return 0;}a)b)c)d)Correct answer is option 'A'. Can you explain this answer?
Question Description
What is printed by ANSI C programme#include<stdio.h>int main (int arge, char * argc []){int a [3][3][3]= {{1, 2, 3, 4, 5, 6, 7, 8, 9}{10, 11, 12, 13, 14, 15, 16, 17, 18} {19, 20, 21, 22, 23, 24, 25, 26, 27}};int i= 0, j= 0, k=0;for (i = 0; i< 3; i++){ for(k = 0; k<3; k++)printf(“%d”, a [i][j][k]); printf(“\n”);}return 0;}a)b)c)d)Correct answer is option 'A'. Can you explain this answer? for Computer Science Engineering (CSE) 2024 is part of Computer Science Engineering (CSE) preparation. The Question and answers have been prepared according to the Computer Science Engineering (CSE) exam syllabus. Information about What is printed by ANSI C programme#include<stdio.h>int main (int arge, char * argc []){int a [3][3][3]= {{1, 2, 3, 4, 5, 6, 7, 8, 9}{10, 11, 12, 13, 14, 15, 16, 17, 18} {19, 20, 21, 22, 23, 24, 25, 26, 27}};int i= 0, j= 0, k=0;for (i = 0; i< 3; i++){ for(k = 0; k<3; k++)printf(“%d”, a [i][j][k]); printf(“\n”);}return 0;}a)b)c)d)Correct answer is option 'A'. Can you explain this answer? covers all topics & solutions for Computer Science Engineering (CSE) 2024 Exam. Find important definitions, questions, meanings, examples, exercises and tests below for What is printed by ANSI C programme#include<stdio.h>int main (int arge, char * argc []){int a [3][3][3]= {{1, 2, 3, 4, 5, 6, 7, 8, 9}{10, 11, 12, 13, 14, 15, 16, 17, 18} {19, 20, 21, 22, 23, 24, 25, 26, 27}};int i= 0, j= 0, k=0;for (i = 0; i< 3; i++){ for(k = 0; k<3; k++)printf(“%d”, a [i][j][k]); printf(“\n”);}return 0;}a)b)c)d)Correct answer is option 'A'. Can you explain this answer?.
Solutions for What is printed by ANSI C programme#include<stdio.h>int main (int arge, char * argc []){int a [3][3][3]= {{1, 2, 3, 4, 5, 6, 7, 8, 9}{10, 11, 12, 13, 14, 15, 16, 17, 18} {19, 20, 21, 22, 23, 24, 25, 26, 27}};int i= 0, j= 0, k=0;for (i = 0; i< 3; i++){ for(k = 0; k<3; k++)printf(“%d”, a [i][j][k]); printf(“\n”);}return 0;}a)b)c)d)Correct answer is option 'A'. Can you explain this answer? in English & in Hindi are available as part of our courses for Computer Science Engineering (CSE). Download more important topics, notes, lectures and mock test series for Computer Science Engineering (CSE) Exam by signing up for free.
Here you can find the meaning of What is printed by ANSI C programme#include<stdio.h>int main (int arge, char * argc []){int a [3][3][3]= {{1, 2, 3, 4, 5, 6, 7, 8, 9}{10, 11, 12, 13, 14, 15, 16, 17, 18} {19, 20, 21, 22, 23, 24, 25, 26, 27}};int i= 0, j= 0, k=0;for (i = 0; i< 3; i++){ for(k = 0; k<3; k++)printf(“%d”, a [i][j][k]); printf(“\n”);}return 0;}a)b)c)d)Correct answer is option 'A'. Can you explain this answer? defined & explained in the simplest way possible. Besides giving the explanation of What is printed by ANSI C programme#include<stdio.h>int main (int arge, char * argc []){int a [3][3][3]= {{1, 2, 3, 4, 5, 6, 7, 8, 9}{10, 11, 12, 13, 14, 15, 16, 17, 18} {19, 20, 21, 22, 23, 24, 25, 26, 27}};int i= 0, j= 0, k=0;for (i = 0; i< 3; i++){ for(k = 0; k<3; k++)printf(“%d”, a [i][j][k]); printf(“\n”);}return 0;}a)b)c)d)Correct answer is option 'A'. Can you explain this answer?, a detailed solution for What is printed by ANSI C programme#include<stdio.h>int main (int arge, char * argc []){int a [3][3][3]= {{1, 2, 3, 4, 5, 6, 7, 8, 9}{10, 11, 12, 13, 14, 15, 16, 17, 18} {19, 20, 21, 22, 23, 24, 25, 26, 27}};int i= 0, j= 0, k=0;for (i = 0; i< 3; i++){ for(k = 0; k<3; k++)printf(“%d”, a [i][j][k]); printf(“\n”);}return 0;}a)b)c)d)Correct answer is option 'A'. Can you explain this answer? has been provided alongside types of What is printed by ANSI C programme#include<stdio.h>int main (int arge, char * argc []){int a [3][3][3]= {{1, 2, 3, 4, 5, 6, 7, 8, 9}{10, 11, 12, 13, 14, 15, 16, 17, 18} {19, 20, 21, 22, 23, 24, 25, 26, 27}};int i= 0, j= 0, k=0;for (i = 0; i< 3; i++){ for(k = 0; k<3; k++)printf(“%d”, a [i][j][k]); printf(“\n”);}return 0;}a)b)c)d)Correct answer is option 'A'. Can you explain this answer? theory, EduRev gives you an ample number of questions to practice What is printed by ANSI C programme#include<stdio.h>int main (int arge, char * argc []){int a [3][3][3]= {{1, 2, 3, 4, 5, 6, 7, 8, 9}{10, 11, 12, 13, 14, 15, 16, 17, 18} {19, 20, 21, 22, 23, 24, 25, 26, 27}};int i= 0, j= 0, k=0;for (i = 0; i< 3; i++){ for(k = 0; k<3; k++)printf(“%d”, a [i][j][k]); printf(“\n”);}return 0;}a)b)c)d)Correct answer is option 'A'. Can you explain this answer? tests, examples and also practice Computer Science Engineering (CSE) tests.
Explore Courses for Computer Science Engineering (CSE) exam

Top Courses for Computer Science Engineering (CSE)

Explore Courses
Signup for Free!
Signup to see your scores go up within 7 days! Learn & Practice with 1000+ FREE Notes, Videos & Tests.
10M+ students study on EduRev