
Software Programming : C Programming QUESTIONS AND ANSWERS :: part6 : 11 to 15
Following Software Programming language Entrance Multiple choice objective type questions and answers will help you in Software Programming 2024 examinations :
11.For the following structure declaration, find the correct statement. struct person { char name[20]; int age; struct person lady; }; |
| Is a valid nested structure |
| Uses an invalid data type |
| Is a self referential structure |
| Is not a valid nested structure |
| Is a self referential structure with invalid data type. |
12.int A[4] = { 5, 6, 7, 8 }; Then which of the following will declare a pointer variable that points to the array in the sample declaration above? |
| int *(ptr [4]) = &A; |
| int (*ptr)[4] = &A; |
| int ( ptr *)[4] = &A; |
| int *ptr[4] = &A; |
| int (*ptr[4]) = &A;. |
13.Which of the following function calculates the square of �X� in C? |
| sqr( X ) |
| pow( 2, X) |
| pow( X, 2) |
| power( 2, X) |
| power( X, 2). |
14.What does the declaration mean? float *(*a[5]) ( )[3]; |
| Pointer to an array[3] of function returning an array[5] of float |
| Array[5] of pointer to function returning an array[3] of float |
| Pointer to an array[5] of function returning an array[3] of float |
| Array[3] of pointer to function returning an array[5] of float |
| Invalid declaration. |
More C Programming QUESTIONS AND ANSWERS available in next pages
-
Health is the greatest gift, contentment is the greatest wealth -Buddha
- TNTET 2021 - Practice
- SSC CGL 2021 - Practice
- TNPSC Group 2A 2021 - Practice
- IIT JEE
- IIT JEE Q&A
- TNPSC Answer Keys
- TNPSC Group 2 Syllabus
-
TNPSC Q&A

- Online Tests - TNPSC
- Online Tests - GK
- IBPS 2020-2021
- Online Tests - Bank
- Online Tests - RRB NTPC
- Online Tests - UGC NET
- Online Tests - TANCET
- Online Aptitude Test
-
Engineering

-
Programming

-
Basic Science

-
Quiz

- Plus Two Question Papers
- SSLC Question Bank
-
Aptitude Tests

-
Logical Reasoning

-
General Knowledge-Hindi

-
Indian History MCQ

-
Indian Geography MCQ

-
Indian Civics MCQ

-
Indian Economics MCQ

-
CTET Biology MCQ

-
CTET Chemistry MCQ

-
CTET Physics Solved MCQ

-
Arithmetic Tests

- Press Release
- FAQ
- Coaching Centres
- TNPSC Group 1 Syllabus
-
TNPSC Group IV Syllabus

- TRB 2017 in English PDF

- TRB 2017 in Tamil PDF

- TET
- TNTET
