Why c is procedure oriented?
Answer / Jagpal Singh
C was designed to be a procedural programming language, with functions being the primary building blocks. It does not support object-oriented features like classes and inheritance.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is the difference between typeof(foo) and myFoo.GetType()?
Function to find the given number is a power of 2 or not?
There is a 100-story building and you are given two eggs. The eggs (and the building) have an interesting property that if you throw the egg from a floor number less than X, it will not break. And it will always brake if the floor number is equal or greater than X. Assuming that you can reuse the eggs which didn't broke; you got to find X in a minimal number of throws. Give an algorithm to find X in minimal number of throws.
Why cd or dvd are round why not square.
Bit swapping
what is the purpose of the code, and is there any problem with it. unsigned int v[10]; unsigned int i = 0; while (i < 10) v[i] = i++;
What are the advantage of c language?
what is the output of the below code? main( ) { printf ( "\nOnly stupids use C?" ) ; display( ) ; } display( ) { printf ( "\nFools too use C!" ) ; main( ) ; }
give an example of type casting by a simple c program
What is the difference between declaring a variable and defining a variable?
Explain the Difference between the New and Malloc keyword.
/*what is the output for the code*/ void main() { int r; r=printf("naveen"); r=printf(); printf("%d",r); getch(); }