View Full Version : C Language
- what is pointer
- what is the difference between structure and union
- what is pointers and its uses
- we use functions within a structure
- What is a method
- What are the advantages of the functions
- What is the purpose of main( ) function
- What is an argument
- Differentiate between formal arguments and actual arguments?
- What is a function and built-in function
- What is modular programming
- What are the characteristics of arrays in C
- Differentiate between a linker and linkage
- What are advantages and disadvantages of external storage class
- Differentiate between an internal static and external static variable
- What are the advantages of auto variables
- What is storage class and what are storage variable
- Which expression always return true? Which always return false
- Write the equivalent expression for x%8
- why n++ executes faster than n+1
- What is a modulus operator
- What are the restrictions of a modulus operator
- What is the difference between a string and an array
- What is a static function
- Why should I prototype a function
- How do you print an address
- How can you determine the size of an allocated portion of memory
- What is the difference between NULL and NUL
- What is the heap
- What is the stack
- When should a far pointer be used
- Can the size of an array be declared at runtime
- What is the difference between far and near
- How do you use a pointer to a function
- When would you use a pointer to a function
- Why should we assign NULL to the elements (pointer) after freeing them
- What is a void pointer
- What is a null pointer
- What is indirection
- How many levels of pointers can you have
- What does it mean when a pointer is used in an if statement
- How do you print only part of a string
- How can I convert a string to a number
- How can I convert a number to a string
- How do you override a defined macro
- What is a program
- What is #line used for
- What are the standard predefined macros
- How can type-insensitive macros be created
- How many levels deep can include files be nested
- How can you check to see whether a symbol is defined
- How can you restore a redirected standard stream
- What is the difference between text and binary modes
- How do you determine whether to use a stream function or a low-level function
- How can I open a file so that other programs can update it at the same time
- How can I make sure that my program is the only one accessing a file
- What is Preprocessor
- What is a macro, and how do you use it
- What will the preprocessor do for a program
- How can you avoid including a header more than once
- What is the benefit of using #define to declare a constant
- What is the benefit of using an enum rather than a #define constant
- How are portions of a program disabled in demo versions
- What is the difference between #include <file> and #include ?file?
- Can you define which header file to include at compile time
- Can include files be nested
- Can a file other than a .h file be included with #include
- How do you redirect a standard stream
- How can I search for data in a linked list
- How can I sort a linked list
- What is hashing
- What is the quickest searching method to use
- What is the easiest searching method to use
- How can I sort things that are too large to bring into memory
- What is the quickest sorting method to use
- What is the easiest sorting method to use
- What is the benefit of using const for declaring constants
- What is the difference between declaring a variable and defining a variable
- When should a type cast be used
- When should a type cast not be used
- How can you determine the maximum value that a numeric variable can hold
- When should the volatile modifier be used
- How reliable are floating-point comparisons
- What is a const pointer
- When should the register modifier be used
- What is page thrashing
- Array is an lvalue or not
- What is an lvalue
- What is the difference between goto and longjmp() and setjmp()
- When is a switch statement better than multiple if statements
- How to type a string without using printf function
- What does it mean- a[i]=i+i
- How to break cycle in circular single link list
- How do you write a program which produces its own source code as its output
- How can we open a image file through C program
- What is the difference between #define and constant in C
- Write C program for delete a node from linked list
- Where is the auto variables stored
- What is the use of register variables
- How can you calculate number of nodes in a circular Linked List
- How to swap the content of two variables without a temporary variable
- Can we use string in switch statement
- What is far pointer
- What is structure padding
- What is a NULL Macro
- What is the difference between a NULL Pointer and a NULL Macro
- What is storage class in c
- How to write a program such that it will delete itself after execution
- How will you print % character
- Difference between Function to pointer and pointer to function
- Can a variable be both const and volatile
- What is different arrays and pointers
- When memory will be created after defining in c and c++
- What is difference between calloc() and malloc()
- Write C Program to print the following series
- What is static identifier
- What use of structure and union
- How to write a program for Pascal triangle
- what are the disadvantages of using Pointers
- What is difference between the test effort and the test procedure
- How to write a C program for displaying a sentence without output command
- How much memory does a static variable takes
- what is file pointer and it working method
- How to write a program in c to print its own code
- what is the output
- What is the Addition of two numbers using Bitwise operators
- What is the Program to convert decimal to binary no
- How can we add two numbers in c language without using Arithmetic operators
- How to get string in files and print the string in the reverse order
- Write the code for swapping of two numbers without using temporary variable using C
- we can execute print statement without using semicolon
- How to perform addition, subtraction of 2 numbers without using add and sub
- How do you sort names using circular linked list in c
- Write a C program that will convert Simple Sentence to Complex/Compound Sentence
- Write the code to draw a three dimensional graph using c graphics
- What is output of the program in c
- Write a program to remove comment lines and blank lines from an error free c program
- Where does global, static, local, register variables, free memory
- How to print value without using any output statements
- What is the use of Bitwise operators
- What is the use of unformatted Input/Output functions
- Write the program that outputs the given binary or image file
- What is meant by malloc function
- How to find a given number is Armstrong number or not in "C"?
- Write Fibonacci series program
- What are returned by printf(), scanf() functions
- How do we get Square root of any number Without using sqrt() fuction
- Why do we need to test weather it is memory leak or not
- How to operate pointers in any program
- How to perform matrix multiplication using double linked lists
- What is the type of the variable b in the following declaration
- A switch statement cannot include
- Write a program in 'c' to implement k-map simplification technique
- Write a program to multiply two matrices of order m*n and n*p respectively
- Write a program to read a real number x and find the even number nearest to x
- Write a program to read a set of integers and to separate all odd and even numbers
- Write a function in c that would traverse a linear singly linked list in reverses
- How can size of a variable without using size of () operator
- How to remove duplicate elements from an array
- When function say abc() calls another function say xyz(), what happens in stack
- Write a program to read a positive integer and print its binary equivalent
- What is use of macro arguments in c
- what is major difference between normal macro definition and macro arguments
- How do you write C program which can calculate lines of code butnot counting comments
- What is the difference between a string copy (strcpy) and a memory copy (memcpy)
- How to write a C program to find the power of 2 in a normal way and in single step
- What would be the output of the following program
- What is the output of the following program
- which line of the following, an error would be reported
- In the following code, in which order the functions would be called
- What is the draw back in using friend function in c++
- What would be the output of the following program
- What do you mean by normalization of pointers
- How to convert Stack in to Queue and vice versa in c with data structure
- What would be the output of the following program
- What would be the output of the following program
- What would be the output of the following program
- What will be the output of the following program
- What is a ?null pointer assignment? error
- What are bus errors, memory faults, and core dumps?
- Write a program filename as a command line argument and convert charcters uppercase
- When does compiler not implicitly generate the address of the first element of array
- What would be the output
- Why don't we add null pointer at the end of array of integer
- How can we calculate the length of array of integer?
- Where is the prototype of the main function i.e how execution started from main funct
- WAP to find the largest of 4 no using macros
- Can static variables be declared in a header file
- What are different from one another const char *const s; char const *const s
- what is p2? typedef int* ptr ptr p1, p2
- What are Storage Classes in C
- How the processor registers can be used in C
- What is an volatile variable
- How to access or modify the const variable in c
- How to implement call back functions?
- What is an anonymous union and where to apply
- How to implement variable argument functions
- How the C program can be compiled?
- What are the preprocessors
- What are advantages and disadvantages of recursive calling
- What are the various memory handling mechanisms in C
- How Do You Handle Exceptions In C
- what is the difference between malloc() and calloc() in c file management
- What is the difference between const char *p, char const *p, const char* const p
- what is memory leak
- Result of the following program is
- what does exit() do
- Macros and function are related in what aspect
- What is false about the following A compound statement is
- What it will be printed
- what is the output
- Which of these statements are false
- Identify the correct argument for the function call fflush () in ANSI C
- Which of the Following is not defined in string.h
- Which of the following data structures is on average the fastest for retrieving data
- A function 'q' that accepts a pointer to a character as argument and returns a pointe
- When do you say that a digraph is acyclic
- What is a long int size
- what will be the result of the function, value of x , value of y
- what will be the result of the following program
- which of the function operator cannot be over loaded
- f=(x>y)?x:y
- what will the following program do
- what is the value of may
- What is the value of c
- What is the output
- What will be the result of the following program
- What will be result of the following program
- Write one statement equalent to the following two statements
- Which of the following about automatic variables within a function is correct
- Main must be written as
- Which of the following is not an infinite loop
- What is the output of the following program
- What is the output of the following program
- Tell me the output
- What does the statement print
- What is the output of the following program
- What is the output of the program
- what are the outputs
- What is the output of the following program
- what is the difference between <stdio.h> and "stdio.h"
- Which of the Following will define a type NODE that is a node in a Linked list
- What will happen if it is compiled & run on an ANSI C Compiler
- What is the function of ceil(X) defined in math.h do
- Which of the following are valid "include" formats
- What will happen if it is compiled & run on an ANSI C Compiler
- What kind of sorting is this: SORT (k,n)
- When do you say that a digraph is acyclic
- What is the output of the program
- what does the following code do