what are the general concepts of c and c++
Answers were Sorted based on User's Feedback
CONCEPTS OF 'C' :
Basics dealing with declaration of variables and constants....
Control Structures (if, if-else , switch)
Looping structures (for,while,do-while)
ARRAYS
Macros and CONSTANTS
POINTERS
STRUCUTRES & UNIONS
FILES
FUNCTIONS (Sub routines)
etc....
in C++ :
OOPS
thank u
| Is This Answer Correct ? | 2 Yes | 0 No |
What is data type long in c?
Suppose I want to write a function that takes a generic pointer as an argument and I want to simulate passing it by reference. Can I give the formal parameter type void **, and do something like this? void f(void **); double *dp; f((void **)&dp);
Can we declare function inside main?
a character or group of characters that defines a register,or a part of storage a) memory b) byte c) address d) linear list
Explain what is a 'locale'?
Is there a way to switch on strings?
How can I open files mentioned on the command line, and parse option flags?
write a program in c language that uses function to locate and return the smallest and largest integers in an array,number and their position in the array. it should also find and return the range of the numbers , that is , the difference between the largest number and the smallest.
To print the pattern 1 2 3 4 5 10 17 18 19 6 15 24 25 20 7 14 23 22 21 8 13 12 11 10 9
Why main function is special give two reasons?
Write a program for the following series: 1*3*5-2*4*6+3*5*7-4*6*8+.................up to nterms
Write a program for the following series? 1 121 12321 1234321 123454321 12345654321 1234567654321 123456787654321 12345678987654321 1234567890987654321 123456789010987654321 12345678901210987654321 1234567890123210987654321 .........1234321............ ..........123454321............ ..........12345654321............ 7 8 9 0 1 Pls............?