C Programming Internship

«
»
Sanfoundry offers internships in "C Programming". Read the complete details below regarding the internship requirements, eligibility criterior and the application process.

Pre-requisite / Skillset for C Programming Internship

1. Intern must know how to develop simple applications in C using basic constructs.

2. Capable of designing and implementing applications using arrays and strings.

advertisement

3. Intern must be able to develop and implement applications in C using functions and pointers.

4. Must be capable of developing applications in C using structures.

5. Must be familiar with designing applications using sequential and random access file processing.

6. Should know how to do input/output and file handling in C.

advertisement
advertisement

7. Should be capable of developing C programs using arrays and strings.

8. Ability to develop applications in C using functions, pointers and structures is required.

9. Intern should have knowledge on how to develop C Programs using basic programming constructs.


C Programming Internship Test

Intern has to take C internship test in which they will be asked 50 multiple-choice questions. They have to score grade A or A* on this test to be eligible for the internship. Here’s a sample set of questions on the C Programming topic.

advertisement

1. Which of the following is true for variable names in C?
(A) They can contain alphanumeric characters as well as special characters
(B) It is not an error to declare a variable to be one of the keywords(like goto, static)
(C) Variable names cannot start with a digit
(D) Variable can be of any length
View Answer

Answer: C
Explanation: According to the syntax for C variable name, it cannot start with a digit.

2. Suppose we transfer a file written on a little endian machine to a big endian machine and there is no transformation from little endian to big endian, then what happens?
(A) The big endian machine throws an error when it receives the file
(B) The big endian machine reads the file in the reverse order
(C) The big endian machine does not read the file
(D) The big endian machine reads the file in the normal order
View Answer

Answer: B
Explanation: If there is no transformation from little endian to big endian on transfer of a file from a little endian machine to a big endian machine, the big endian machine reads the file in reverse order.

3. What is the binary representation of the integer -14?
(A) 11110
(B) 01110
(C) 01100
(D) 11100
View Answer

Answer: A
Explanation: The left most bit (most significant bit) is used to represent the sign of the number: 0 for positive and 1 for negative. For example, a value of positive 14 is written as 01110(in binary). But a value of negative 14 is written as: 11110.

4. Which of the following is not a preprocessor directive?
(A) #error
(B) #pragma
(C) #if
(D) #ifelse
View Answer

Answer: D
Explanation: #ifelse is not a preprocessor directive. #error, #pragma, #if are preprocessor directives. There is a preprocessor directive, #elif, which performs the function of else-if.
advertisement

5. Local variables are stored in an area called ___________
(A) Heap
(B) Permanent storage area
(C) Free memory
(D) Stack
View Answer

Answer: D
Explanation: Local variables are stored in an area called stack. Global variables, static variables and program instructions are stored in the permanent storage area. The memory space between these two regions is known a heap.

Practice the full set of C Programming Multiple Choice Questions before applying for the internship.


How to apply for the C Internship

1. Read the Sanfoundry Internship FAQs

2. Take the C Internship Test

advertisement

3. Submit the Internship Application Form

Participate in the Sanfoundry Certification contest to get free Certificate of Merit. Join our social networks below and stay updated with latest contests, videos, internships and jobs!

advertisement
advertisement
Manish Bhojasia - Founder & CTO at Sanfoundry
Manish Bhojasia, a technology veteran with 20+ years @ Cisco & Wipro, is Founder and CTO at Sanfoundry. He is Linux Kernel Developer & SAN Architect and is passionate about competency developments in these areas. He lives in Bangalore and delivers focused training sessions to IT professionals in Linux Kernel, Linux Debugging, Linux Device Drivers, Linux Networking, Linux Storage, Advanced C Programming, SAN Storage Technologies, SCSI Internals & Storage Protocols such as iSCSI & Fiber Channel. Stay connected with him @ LinkedIn | Youtube | Instagram | Facebook | Twitter