[Updated] Goldman Sachs Aptitude Test Questions and Answers
Practice List of TCS Digital Coding Questions !!!
Take 50+ FREE!! Online Data Interpretation Mock test to crack any Exams.

C Programming :: Loop Control - Discussion

Home > C Programming > Loop Control > MCQs Questions Discussion

85 / 61

Find the output for the following C program

#include<stdio.h>
int main()
{ 
 int i=20,j,k=0;
 for(j=1;j >i;j++)
 {
     k+=j<10?4:3; 
     
 }
 printf("%d", k);
}

A5

B0

C10

D6

EError

Answer: Option (Login/Signup)

Show Explanation

Asked In :: Cisco

Post Your Answer Here:     

No Discussion on this question yet!