Posts

Showing posts from April, 2019

cdac ccat study material

Image
  How to register for C CAT of C DAC 2019  Admissions to all PG Diploma courses of C DAC are done through C DAC's computerized Common Admission Test (C CAT). Every year, C CAT is usually conducted in June (for August admissions) and December (for February admissions). cdac ccat study material C-CAT has three sections (Section A, Section B, Section C) of one-hour duration each. As shown in Table 1, depending on the category of courses selected by the candidate, he/she will have to either appear for just one test paper (Section A) or two test papers (Section A and Section B) or all the three test papers (Section A, Section B and Section C). The medium of C-CAT is English. Important Note: A candidate can appear only for the specific section(s) in C-CAT as per the category of the courses opted by him/her at the time of filling the online application form. Every section in  Pre DAC  will have 50 objective-type questions. Each question will have four choices as possible answe

C Programming layout and Structure

3. PROGRAM STRUCTURE Hello World Example A C program basically consists of the following parts: o    Preprocessor Commands o    Functions o    Variables o    Statements & Expressions o    Comments Let us look at a simple code that would print the words "Hello World": #include <stdio.h> int main() { /* my first program in C */ printf("Hello, World! \n"); return 0; } Let us take a look at the various parts of the above program: 1.        The first line of the program #include <stdio.h> is a preprocessor command, which tells a C compiler to include stdio.h file before going to actual compilation. 2.        The next line int main() is the main function where the program execution begins. 3.        The next line /*...*/ will be ignored by the compiler and it has been put to add additional comments in the program. So such lines are called comments in the program. Compile and Execute C Prog

C PROGRAMMING ENVIRONMENT SETUP

2. ENVIRONMENT SETUP Try it Option Online             You really do not need to set up your own environment to start learning C programming language . The reason is very simple, we already have set up C Programming environment online, so that you can compile and execute all the available examples online at the same time when you are doing your theory work. This gives you confidence in what you are reading and to check the result with different options. Feel free to modify any example and execute it online. Try the following example using our online compiler option available in Coding Area. #include<stdio.h> int main() { /* my first program in C */ printf("Hello, World! \n"); return 0; } For most of the examples given in this tutorial, you will find the Try it option in our website code sections at the top right corner that will take you to the online compiler. So just make use of it and enjoy your learning. Local Environmen

c programming overview

1. C programming overview C is a general-purpose, high-level language that was originally developed by Dennis M. Ritchie to develop the UNIX operating system at Bell Labs. C was originally first implemented on the DEC PDP-11 computer in 1972. In 1978, Brian Kernighan and Dennis Ritchie produced the first publicly available description of C, now known as the K&R standard. The UNIX operating system, the C compiler, and essentially all UNIX applications programs have been written in C. The C has now become a widely used professional language for various reasons. o       Easy to learn o       Structured language o       It produces efficient programs. o       It can handle low-level activities. o       It can be compiled on a variety of computer platforms. Facts about C  1.        C was invented to write an operating system called UNIX. 2.        C is a successor of B language which was introduced around 1970 3.        The language was forma