Call Support +91-85588-96644
Tests given

OR

# (144 Posts)

## This thread is dedicated to preparation for General Awareness and Computer Applications section of MCA Entrance exams like IITJAM, ICET, NIMCET, TANCET and other MCA entrance exams conducted by institutes like Thapar, Pune University, JNU etc. You may share questions related to topics like Number System, Programming and Basics.

Question should not exceed 100 characters.Use add options for multiple choice questions and "Uploadimage/Add related data" for passage text papers.
Question should be at least 10 characters long.
Apporva Arya
Shared from MCA Mock - 1 on 11 May, 2018 2:03 PM

main( )

{

char str[ ] = ?Part-time musicians are

semiconductors? ;

int a = 5 ;

printf ( a > 10 ? "%50s" : "%s", str ) ;

Part time musicians are semiconductors
Part-time musicians are semiconductors
Error
None of the above
Apporva Arya
Posted on 11 May, 2018 2:03 PM

Whats diff in option a and b?

Apporva Arya
Shared from MCA Mock - 1 on 11 May, 2018 2:02 PM

STEP 1: Start

STEP 2: Let a = 1

STEP 3: Print a

STEP 4: Let b = 1

STEP 5: Print b

STEP 6: Let i = 5

STEP 7: Let the value of c = a + b

STEP 8: Let the value of i = i - 1

STEP 9: If the value of i = 0 then goto STEP 14

STEP 10: Print the value of c

STEP 11: Let the value of a = b

STEP 12: Let the value of b = c

STEP 13: Goto STEP 7

1 1 2 3 5 8
1 1 2 3 5
1 1 2 3 5 8 13
None of these
Apporva Arya
Posted on 11 May, 2018 2:02 PM

? is printed in que instead of - in step 8

Simranjeet Singh
Posted on 03 Jan, 2017 1:05 PM
Simranjeet Singh
Posted on 03 Jan, 2017 1:00 PM