If you are in embedded then you must come across this type of questions. Though it seems to be ok or interesting. But If you think logi...
Read More
Home
/
Archive for
September 2017
What is Dead Lock and how to avoid
Dead Lock: We generally use Mutex or Semaphore to avoid such things. But still we have the chance of getting deadlock condition in s...
Read More
Thread vs Process? What is difference between thread and process?
Threads Vs Process: Here I have mentioned the basic difference between threads and process which is useful in many interviews. 1) The...
Read More
How can I see the output of the gcc preprocessor?
There are many cases where you need to see the output file of the GCC preprocessor to debug the code or error caused by macro or any prepro...
Read More
How to Check for Palindrome number in an Decimal Array in C
#include <stdio.h> char checkpalindrome(int a) { int reminder; int reverse = 0; int result = 0; int orgnum = a;...
Read More
Memory Leak & Dangling Pointer in C
Memory Leak & Dangling Pointer Memory leak and dangling pointer are the two common problems that programmers face. These problems...
Read More
How to Convert Number in Binary Format in C with Example Code
#include "stdafx.h" #include "stdio.h" #include "conio.h" #include "string.h" #include "stdl...
Read More
Subscribe to:
Posts
(
Atom
)