write a program to display & create a rational number
what does ‘Bus Error’ mean?
Why do we need a structure?
What are the different types of endless loops?
Which of the following is not an infinite loop ? a.while(1){ .... } b.for(;;){ ... } c.x=0; do{ /*x unaltered within theloop*/ ... }while(x==0); d.# define TRUE 0 ... while(TRUE){ .... }
2)#include<iostream.h> main() { printf("Hello World"); } the program prints Hello World without changing main() the o/p should be intialisation Hello World Desruct the changes should be a)iostream operator<<(iostream os, char*s) os<<'intialisation'<<(Hello World)<<Destruct b) c) d)none of the above
What is the benefit of using #define to declare a constant?
How do you generate random numbers in C?
A character flag or control mechanism that delineates one data item from another a) variable b) constant c) delimiter d) call by reference
What is self-referential structure in c programming?
any restrictions have on the number of 'return' statements that may be present in a function. a) no restriction b) only 2 return statements c) only 1 return statements d) none of the above
What do you mean by command line argument?
What is variable initialization and why is it important?