Jamia Millia Islamia C Programming Language Previous Year Questions (PYQs) – Page 3 of 5

Jamia Millia Islamia C Programming Language Previous Year Questions (PYQs) – Page 3 of 5

A Place for Latest Exam wise Questions, Videos, Previous Year Papers,
Study Stuff for MCA Examinations
Reset
Showing 49 questions
logo
🎓 Jamia Millia Islamia MCA📅 Year: 2023📚 Computer🏷 C Programming Language

Consider the following code segment:

if (n > 0)
    for (i = 0; i < 3; i++)
        if (array[i] > 0)
            printf("%d\n", array[i]);
        else
            printf("\n n is negative\n");

Here, ‘else’ is paired with which ‘if’?

1
2
3
4

logo
🎓 Jamia Millia Islamia MCA📅 Year: 2023📚 Computer🏷 C Programming Language

For this kind of declaration of main() function in a C program ‘copy.C’:

int main(int argc, char *argv[]) { }

and this call of main function at command prompt:
C:\tc\bin>copy file1 file2 file3

What will be the value passed in parameter argc?

1
2
3
4

logo
🎓 Jamia Millia Islamia MCA📅 Year: 2023📚 Computer🏷 C Programming Language

What is the correct file mode that opens preexisting file in read and write mode?

1
2
3
4

logo
🎓 Jamia Millia Islamia MCA📅 Year: 2023📚 Computer🏷 C Programming Language

Which C expression correctly represents this statement: “It decrements pointer p before fetching the character that p points to.”

1
2
3
4

logo
🎓 Jamia Millia Islamia MCA📅 Year: 2023📚 Computer🏷 C Programming Language

How many times this statement will execute: for (; *s == *t && *t != '\0'; s++, t++) if both character pointers ‘s’ and ‘t’ point to the same string “abc”.

1
2
3
4

logo
🎓 Jamia Millia Islamia MCA📅 Year: 2023📚 Computer🏷 C Programming Language

Which out of these statements is NOT true:

1
2
3
4

logo
🎓 Jamia Millia Islamia MCA📅 Year: 2023📚 Computer🏷 C Programming Language

Which out of these is NOT the keyword C99 has added in addition to 32 keywords defined by ANSI C?

1
2
3
4

logo
🎓 Jamia Millia Islamia MCA📅 Year: 2023📚 Computer🏷 C Programming Language

Which out of these is NOT a valid C version?

1
2
3
4

logo
🎓 Jamia Millia Islamia MCA📅 Year: 2022📚 Computer🏷 C Programming Language

What will be the output of the statement printf(3+"goodbye");

1
2
3
4

logo
🎓 Jamia Millia Islamia MCA📅 Year: 2022📚 Computer🏷 C Programming Language

What will be the output of the statements? 
int i = 1, j;
j = i-- - -2;
printf("%d", j);


1
2
3
4

Jamia Millia Islamia


Online Test Series,
Information About Examination,
Syllabus, Notification
and More.

Click Here to
View More

Jamia Millia Islamia


Online Test Series,
Information About Examination,
Syllabus, Notification
and More.

Click Here to
View More

Ask Your Question or Put Your Review.

loading...