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 |
Find the O/p of the following struct node { char *name; int num; }; int main() { struct node s1={"Harry",1331}; struct node s2=s1; if(s1==s2) printf("Same"); else printf("Diff"); }
Sir,please help me out with the output of this programme:- #include<stdio.h> #include<conio.h> void main() { int a=18,b=12,i; for(i=a<b?a:b;a%i||b%i;i--); printf("%d %d",i); }
why do we use pointer instead directly acessing the data?
What are run-time errors?
hello freinds next week my interview in reliance,nybody has an idea about it intervew questions..so tell
main() { enum{red,green,blue=6,white}; pf("%d%d%d%d", red,green,blue,white); return 0; } a)0 1 6 2 b)0 1 6 7 c)Compilation error d)None of the above
How can I invoke another program from within a C program?
Why header files are used?
c program to manipulate x=1!+2!+3!+...+n! using recursion
Write a program to implement a round robin scheduler and calculate the average waiting time.Arrival time, burst time, time quantum, and no. of processes should be the inputs.
When is an interface "good"?
What are unions in c?