Category Archives: c

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 Continue Reading.....
Posted in c, linux | Comments Off on Using cscope for first time- command examples

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 Continue Reading.....
Posted in c | 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 that Continue Reading.....
Posted in c | 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() Continue Reading.....
Posted in c | 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 Continue Reading.....
Posted in c | Comments Off on What are local, static and global variables in C?

Write a c program implementing linked lists

Below program illustrates operations as insert, delete, search & display with menu choice operations in linked list. #include <stdio.h> #include Continue Reading.....
Posted in c | Comments Off on Write a c program implementing linked lists

Write a program of server, multiple client chat application (using linked lists, multithreading)

*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-**-*-*SERVER CODE-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*- /* to compile me in Linux, type: gcc -o server t1.c -lpthread */ /* t1.c - code for Continue Reading.....
Posted in c | Comments Off on Write a program of server, multiple client chat application (using linked lists, multithreading)

C & Unix must read books

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

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 Continue Reading.....
Posted in c | Comments Off on File Handling in C (fopen, fread, fwrite, fseek)

How do computer languages work?

How do computer languages work? We’ve already discussed how programs are run. Every program ultimately has to execute as a Continue Reading.....
Posted in c | Comments Off on How do computer languages work?