Category Archives: C Programming

C basic programming and its understanding

Using cscope for first time- command examples

What is cscope anyways? — Its a interactive way to examine a large C project. Browsing through the files manually Read More...
Posted in C Programming | Tagged | Comments Off on Using cscope for first time- command examples

Compiling C program and creating executable file in Linux

For compiling a c program you need GNU C compiler, also for creating an executable of this C program you Read More...
Posted in C Programming | Tagged | Comments Off on Compiling C program and creating executable file in Linux

Quick answers and things to know on c language

Data Types and Constants & Variables 1.In little-endian systems addresses are always in ABCD and data is stored in DCBA Read More...
Posted in C Programming, Interview Q&A | Tagged | Comments Off on Quick answers and things to know on c language

What is C language and features of C language

Unique features of C C is an attitude. For C is not merely a programming tool, a super-sufficient road roller Read More...
Posted in C Programming, Interview Q&A | Tagged | Comments Off on What is C language and features of C language

Difference between malloc() and calloc() in c language?

Major differences First, is in the number of arguments. Malloc() takes a single argument (memory required in bytes), while calloc() Read More...
Posted in C Programming | Tagged | Comments Off on Difference between malloc() and calloc() in c language?

What are local, static and global variables in C?

Local, Static and Global variables: Local variables: Those variables whose existence is known only either to main() function or a Read More...
Posted in C Programming | Comments Off on What are local, static and global variables in C?

C & Unix must read books

C Programming Language (2nd Edition), by Brian W. Kernighan and Dennis M. Ritchie – Dennis M. Ritchie is the father Read More...
Posted in C Programming, C Programs | Comments Off on C & Unix must read books

How to Create, Compile, Load Linux LKM Loadable Kernel Modules

Suppose we want to add some extra functionality in the Linux kernel. So the first idea that strikes the mind Read More...
Posted in C Programming | Tagged | Comments Off on How to Create, Compile, Load Linux LKM Loadable Kernel Modules

File Handling in C (fopen, fread, fwrite, fseek)

As with any OS, file handling is a core concept in Linux. Any system programmer would learn it as one Read More...
Posted in C Programming | Tagged | Comments Off on File Handling in C (fopen, fread, fwrite, fseek)

Types of Programming Languages

Types of Programming Languages Also see most common java interview questions   Overview of Types As might be expected in a Read More...
Posted in C Programming, Java Programming | Tagged | Comments Off on Types of Programming Languages