C / C++ FAQs & Programming Resources - ProkutFAQ
C Programming FAQ
For more FAQs, visit the
Have you gone through all the questions here? Take a
C programming Quiz
and find out your understanding of C language.
Which are the good books to learn C programming ?
Where can I find C projects to download?
What are the applications of C? Is C language outdated?
What are the differences between C and C++?
Where can I find free C compilers to download?
Where can I find free E-Books on C to download?
What are far, huge and near qualified pointers?
What are the differences between structure and union?
How to count the number of 1's (set bits) in a given number ?
How can we connect/access databases using C?
How to allocate a multi-dimensional (2D/3D) array dynamically using malloc()?
How much memory do pointer variables takes?
How can we pass 2 or 3 dimensional array as argument to function?
How to return an array from a function?
What is the output of printf("%d"); ?
How to find the power of 2 just greater than or equal to a given number?
What are malloc and calloc and what is the difference between them?
Why do we get segmentation fault error?
How to find the size of an object/datatype without using sizeof operator?
How to set a particular bit in a byte? How to unset it?
How to find the endianness of a system?
Can we call any function before main function is called?
Why are my floating point comparisons going wrong?
What is a null pointer? How is it different from NULL?
Is the main function a must in a program?
What is wrong with using void main()? Where does the returned value from main() go?
How to swap two numbers without using temporary variable?
How to add two numbers without using arithmetic operators?
How to write a program which prints its own source code as output?
Where can I find C interview questions?
How can we return more than one value from a function?
Why shouldn't we use the Turbo C/C++(DOS) compilers?
Are there any features in C language that are not in C++?
How to find factorial of big numbers such as 100 or higher?
Why does size of struct show greater than total size of its members?
What are wild and dangling pointers?
Where can I find C standards documents to download?
Which increment statement is faster among: ++i, i++ and i=i+1?
How to print "Hello world!" without using a semicolon?
How to find whether a given number is even or odd without using % (modulus) operator?
How to find whether the given number is a power of 2 in single step (without using loops)?
How to find greatest of two/three/four numbers without using relational operators?
How to print 1 to n without using any kind of loops or recursion?
My compiler (Turbo C/C++) is not working correctly on Vista/XP, what should I do?
Can you write a code which compiles in C but not in C++?
VERY GOOD SIGHT FOR FREQUENTLY ASKED QUESTIONS
-- 220.127.116.11 (2007-06-08 03:02:18)
Kudos @ Starter.. Very Good Effort..! It is indeed very much useful for beginners like me..!
excellent great effort
-- 18.104.22.168 (2008-02-09 10:25:49)
Really great tricks...hats off to u...!!
-- 22.214.171.124 (2008-09-28 04:29:07)
really it will help for all peoples.........
-- 126.96.36.199 (2009-06-08 17:05:23)
-- 188.8.131.52 (2009-08-26 17:02:29)
give the option to the user to ask questions or quary so that he/she'll get exact answer..
-- 184.108.40.206 (2009-11-13 08:48:30)
everybody must watch at-least once. These are really interesting & tough questions if you watch it carefully.
-- 220.127.116.11 (2011-02-04 02:40:49)
very nice, it is use full for all programmers,
thanq for maintaining this web site.
-- 18.104.22.168.static-hyderabad.vsnl.net.in (2011-02-18 08:51:24)
I was so confused about what to buy, but this makes it undersatndlabe.
-- 22.214.171.124 (2011-10-22 05:27:00)
Wow! Great thniikng! JK
-- www.keimelmayr.at (2011-10-22 23:52:48)
A minute saved is a minute ereand, and this saved hours!
-- 126.96.36.199 (2011-10-24 05:36:09)
Add a comment to this page:
Enter the characters you see in the above image:
Valid XHTML 1.0 Transitional
:: Powered by
Page was generated in 0.0867 seconds