What is Clang ? How to compile C program using clang ?
What is Clang ? Clang is a compiler front end for the C, C++, Objective-C and Objective-C++ … Read more
What is Clang ? Clang is a compiler front end for the C, C++, Objective-C and Objective-C++ … Read more
Following is the simple example to show, how we can create two threads at a time and … Read more
Following is the simple example to show, how we can create two threads at a time and … Read more
In this post, we create a simple thread using pthread library API “pthread_create” and wait for this … Read more
The function feof() tests the end-of-file indicator for the stream pointed to by stream, returning nonzero if … Read more
The function feof() tests the end-of-file indicator for the stream pointed to by stream, returning nonzero if … Read more
As we have seen in our another posts “How to create Shared Library in Linux ?” we … Read more
Below functions make sure we are safely and completely reading and writing from a file pointer fd, … Read more
getcwd, getwd, get_current_dir_name functions return a null-terminated string containing an absolute pathname that is the current working … Read more
Following program converts integer number 42 to string “42” using sprintf. sprintf() writes to the character string. … Read more
In C program, comments doesn’t have any use other than for better understanding of the developers of … Read more
In this post, we will create a simple C program, compile it with debugging enabled and then … Read more