C Language Functions Interview Question Part 2

  C Language Functions Interview Question Part 2 1. How would you use the functions randomize () and random ()? randomize ():initiates random number generation with a random value. random ():generates random number between 0 and n-1; 2. What do the functions atoi (), itoa () and gcvt () do? atoi () is a macro … Read more

C language Loop Statements

Interview Questions on C language Loop Statements 1. What is a loop statement in C? Loop statement is used to execute a set of instructions repeatedly until a particular condition is being satisfied. 2. What are Control structures in C? Control structures are the statements which controls the overall any program. 3. What are the … Read more

Interview Questions on C language Constants

Interview Questions on C language Constants 1. What is a constant? A C constant is usually just the written version of a number. The constants can never change their value. The constants value is locked for the duration of the program. Constants also provide a strong hint to the compiler for optimization. Since the compiler … Read more

C Introduction

Interview Questions on C Introduction 1. What is C? ‘C’ language is a general-purpose computer programming language with features economy of expression, modern flow control and data structures, and rich set of operators developed between 1969 and 1973 by Dennis Ritchie at the Bell Telephone Laboratories for use with the Unix operating system. C is … Read more