Structures in C

[ad_1] A structure is a collection of variables under a single name. These variables can be of different types, and each has a name which is used to select it from the structure. A structure is a convenient way of grouping several pieces of related information together. A structure can be defined as a new named type, thus extending the…

The C Preprocessor

[ad_1] The C preprocessor is a tool which filters your source code before it is compiled. The preprocessor allows constants to be named using the #define notation. The preprocessor provides several other facilities which will be described here. It is particularly useful for selecting machine dependent pieces of code for different computer types, allowing a single program to be compiled…

Rivigo Interview Experience | Set 1 (On Campus – Software Developer)

[ad_1] Rivigo came at IIT Roorkee for Software Developer Profile on Day1. Online Test: Test was conducted on hackerrank. 4 coding questions 90 minutes. I remember 3 out of 4 questions http://stackoverflow.com/questions/29236837/find-max-sum-of-elements-in-an-array-with-twist http://www.geeksforgeeks.org/dynamic-programming-set-12-longest-palindromic-subsequence/ http://www.geeksforgeeks.org/given-an-array-of-numbers-arrange-the-numbers-to-form-the-biggest-number/ I gave 3 technical interviews. Most of the questions were easy. Some questions were based on my internship. No HR interview. Here are a couple of…

Programs with Several Files

[ad_1] When writing a large program, you may find it convenient to split it several source files. This has several advantages, but makes compilation more complicated. This section will discuss advantages and disadvantages of using several files in a program, and advise you on how to divide a program between several files, should you wish to do so. Advantages of…