Reliance FAQs answers on Computer programming

Please don’t forget to G+1 and/ Like and/ Share. Hi, welcome to nrrbeassistance.blogspot.com.

Reliance frequently asked questions (FAQs) with answers on Computer programming (CP)

1Q. int (*fun)(char *); means 

A. pointer to pointer 
B. pointer to array of pointers 
C. a function that accepts pointer to a character and returns pointer to an integer 
D. pointer to a function that accepts pointer to a character and returns integer 

2Q. struct node( int i; float j;);struct node *s[10]; The above C declaration define 's'  to be 

A. array, each element of which is a structure of type node. 
B. An array, each element of which is a pointer to a structure of type node 
C. A structure of 2 fields, each field being a pointer to an array of 10 elements 
D. A structure of 3 fields: an integer, a float, and an array of 10 elements

3Q. Point out the error in the program? struct emp ( int ecode; struct emp *e; ) ; 

A. Linker Error 
B. Error Structure Declaration 
C. No Error 
D. Runtime Error 

4Q. What does this statement printf(%10s, state); means? 

A. Pint the last 10 characters of the string 
B. Print empty spaces if the string state is less than 10 characters 
C. 10 spaces before the string state is printed 
D. Depends on the compiler 

5Q. Size (in bytes) of pointer initialized to NULL in C, assume that compiler is 32 bit 

A. 1     B. 2     C. 0     D. 4 

6Q. Which of the following functions cant be used to read from a user opened file 

A. scanf    B. read    C. fscanf:    D. fgetc 

7Q. The purpose for mode w+b in file operation is 

A. open a binary file for writing 
B. create a binary file for read/write 
C. open a binary file for reading/writing 
D. create a binary file for write 

8Q. Which operator is suitable for turning off a particular bit in a number? 

A. &&    B. |     C. ||    D. &

Answers: 1D 2B 3C 4B 5B 6A 7B 8D.  Learn More

Alerts: Dear viewer, “Hard work never fails”. Along with hard work include smart work for your goal. Your hard work and our smart work, guarantee success. To get in touch with you, we have created a WhatsApp Group named “MCQs FAQs Tips - Dumps PDF”. Kindly send a message to +91-7893356131 as “add to MCQs FAQs Tips - Dumps PDF" to add you to this group.

Updates: Don’t miss, what you want? So kindly, 1. Like our Facebook, 2. Subscribe by E-mail, 3. Follow our Google+, 4. Twitter 5. YouTube, 6. Download our Toolbar, 7. Install our App and 8. Others.

Help: If you have any suggestions, requests and problems, please comment below or ask us here.

Encourage us: Please don’t forget to G+1 and/ Like and/ Share and/ Recommend… thank you and all the best / best of luck for your bright future.

Our motto: Serve poor and needy whole heartedly – Nareddula Rajeev Reddy (NRR) and his team.

Comments

Popular posts from this blog

Top Numerical Reasoning Questions and Answers

S.CHAND: English Grammar Composition E-Book PDF Free Download; (Student's Exercises - Activities)

Mahendra's Reasoning Ability Study Material PDF for banking (RBI, SBI, IBPS: PO, SO, Clerks), Railway RRB and other Competitive Examinations