1. Which of the following sequences of array elements forms a heap? (a) {23, 17, 14, 6, 13, 10, 1, 12, 7, 5} (b) {23, 17, 14, 6, 13, 10, 1, 5, 7, 12} (c) {23, 17, 14, 7, 13,
Unary Operators
Arithmetic Instruction Arithmetic instruction is used to manipulate data using operators To understand operators in a better way we put them in 7 groups. Unary Operators Arithmetic Operators Bitwise Operators Relational Operators Logical Operators Conditional Operators Assignment Operators Unary Operators
User Input
Input Instruction (user input) Default input device is keyboard. Input instruction makes possible to user input data from keyboard scanf() scanf() is a predefined function. It is used to input data from keyboard and stores in variables of the program.
Escape Sequences
Escape Sequences Escape sequences are special symbols prefixed with a back slash ( \ ). These symbols can be used in printf() function to provide a formatted output. Sometimes they are used in formatted input too. Here is the list
Input Output Instruction
Input Output Instruction User interaction with a program on machine required input/output device Standard Input device is keyboard and standard output device is monitor. An instruction which is used to print something on the screen or any other output device
Modifiers
Modifiers Modifiers are the keywords used to modify the properties of data type. Modifiers are short, long, signed, unsigned. Below is the list of all possible combination of use of modifiers with data type: For Integers int, short int, signed
Data Type Declaration Instruction
Data Types Primary objective of any program is to process data. Data is raw information that your program manipulated to yield a meaningful information. Data comes in various forms, name of a city is a data and age of a
Instructions
Instruction Instruction is what a sentence in English. Sentence is a meaningful combination of words. Instruction too made up by combining identifiers. The set of rules which constitutes a sentence is known as grammar. In C language grammar is called
Start Learning C
Start Learning C As a matter of fact any language whether it is natural language (like Hindi, English, French, etc) or computer programming language, one has to learn basic constituents first. You have to learn C language in the same