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 |
the format specified for hexa decimal is a.%d b.%o c.%x d.%u
When should a far pointer be used?
4) Write a program that takes a 5 digit number and calculates 2 power that number and prints it.
Write a program to print the prime numbers from 1 to 100?
What is sizeof return in c?
Find the output? void main() {float a=2.0; printf("\nSize of a ::%d",sizeof(a)); printf("\nSize of 2.0 ::%d",sizeof(2.0));}
11 Answers IBM, TCS,
what would be the output of the following prog? Justify your answer? main() { unsigned char ch; unsigned char i; ch = -255; printf("%d",ch); i = -1; printf("%d",i); }
write a c program that if the given number is prime, and their rearrangement(permute) of that number is also prime. Ex: Input is "197" is prime Output: 791,917,179 is also prime. Please any one tell me tha code for that
How to reverse a linked list
1 Answers Aricent, Fidelity, IBM, TCS,
Explain how can you check to see whether a symbol is defined?
Write a program that takes a 5 digit number and calculates 2 power that number and prints it
what is the coding of display the factorial of a number using array and function?