







Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Community
Ask the community for help and clear up your study doubts
Discover the best universities in your country according to Docsity users
Free resources
Download our free guides on studying techniques, anxiety management strategies, and thesis advice from Docsity tutors
This is bca questions and it will helpful for you.
Typology: Exams
1 / 13
This page cannot be seen from the preview
Don't miss anything!
Computer Programming “C language”
If you want to exchange two rows in a two dimensional array, the fastest way is to: a) Exchange the elements of the 2rows b) Exchange the address of each element in the two row c) Silence the address of the rows in an array of pointer and exchange the pointer d) None of these. Ans: c
A type cast is used to a) Define a new data type b) Force a value to be a particular variable type c) Rename an old type d) None of these. Ans: b
Operator precedence determines which operator a) Operators on the largest number b) Is used first c) Is most important d) None of these. Ans:b
If you don’t initialize a static array, what will be the element set to? a) Zero b) A floating point c) An undetermined value d) None of these. Ans: a
Which is more appropriate for reading in a multi-word string? a) gets( ) b) Printf( ) c) scanf( ) d) puts ( ). Ans: a
The process of translating a source program into machine language is a function of: a) Compiler b) Translator c) Assembler d) None of these. Ans: a
Function argument can be a) A structure member b) A pointer variable c) A complete structure d) All of the above. Ans: d
A “switch” statement is used to: a) Switch between user defined functions in a program b) Switch from one variable to another variable c) Jump from one place to another in a program. d) None of these. Ans: d