Posts

Showing posts with the label C Prog. Basics

Basic questions in C,Cinterview questions,TCS , Infosys, IBM

C interview questions. 10 Diffrence between C & C++ Basic C  questions: •10 Major Differences Between C And C++ C++, as the name suggests is a superset of C. As a matter of fact, C++ can run most of C code while C cannot run C++ code. Here are the 10 major differences between C++ & C... 1. C follows the procedural programming paradigm while C++ is a multi-paradigm language(procedural as well as object oriented) In case of C, importance is given to the steps or procedure of the program while C++ focuses on the data rather than the process. Also, it is easier to implement/edit the code in case of C++ for the same reason. 2. In case of C, the data is not secured while the data is secured(hidden) in C++ This difference is due to specific OOP features like Data Hiding which are not present in C. 3. C is a low-level language while C++ is a middle-level language (Relatively, Please see the discussion at the end of the post) C is regarded as a low-level language(difficult interpre...

C interview questions: for TCS, Infosys, Accenture, IBM.

C interview questions: for TCS, Infosys, Accenture, IBM. Get the latest and most tricky technical interview questions asked in TCS technical interviews.Also Read: Latest Placement Paper For TCS 2014 Campus Appearing Batch Que: In which field C programming language is still used ? Ans: In Hardware drivers (laptop, desktops etc..) programming as its the most popular hardware specific language. Que: What are the different storage classes in C? Ans: Storage classes in C There are four storage classes in C: a. Automatic storage class: The features of variables are as follows -Storage: Memory -Default initial value: Garbage value -Scope: Local to the block in which defined -Life: till the control remains within the block in which defined. b. Register storage class: The features of variables are as follows -Storage: CPU registers -Default initial value: Garbage value -Scope: Local to the block in which defined -Life: till the control remains within the block ...

C interview Questions for 2011, 2012 TCS, Infosys, IBM, Hexaware

C interview Questions: TCS, Infosis, IBM, Accenture, Hexaware...   •Why we use '# ' sign in C language? It tells the pre-processor to do something. It can be used to: include a file: #include <stdio.h>You can also use ifs to determine which parts of your code to compile. These ifs need to be based on MACRO values, not variables: #if <expression>#define <macro> #else #define <macro> #endif Others: #ifdef #ifndef #undef #error #pragma Basic data types in C:        char a character        int a integer, in the range -32,767 to 32,767 long int a larger integer (up to +-2,147,483,647) float a floating-point number double a floating-point number, with more precision and perhaps greater range than float What is Turbo C Turbo C is an Integrated Development Environment and compiler for the C programming language from Borland. First introduced in 1987, it was noted for its integrated development environmen...

What is Programming ? Why Learning C Prog. Language is still Important ?

Introduction of C Programming Language & Basics of Programming ? BEST PART TIME JOBS FOR FRESHERS & EXP.   To Prepare for C Programming, HR-PI & Technical Round & To Get C Programming Previous Years Questions & Placement Papers, you can please join the largest campus help group on facebook i.e., Campus Guru

C Interview Questions -What is C Programming & Its Importance ?

C Programming Technical Questions for TCS2012-2013 We can say C is mother of all languages. Today in development side lot of languages are used but if we start to learn high levels programming language we must know all concepts of C. Before developing C lot of languages are used for software development but problem is every programming languages are used for specific domain(i.e. specific field) for examples COBOL is used only for Business related software, Forton is used only for Mathematical related software and pascal is used for Scientific related application similar thing with other previous languages. But C is come like a whole package where we can develop any kind of software. C is a Structure oriented programming language not a Procedural oriented. User define data type is first time introduced in C programming language. If you are going to learn high level programming language everywhere you need C concept, if you are good in C you can learn other advance language easily. ...