Sie sind auf Seite 1von 3

c Can we specify variable field width in scanf() format string? If possible how?

c Can you dynamically allocate arrays in expanded memory?


c Can you use function fprintf() to display output on screen?
c Can you write function similar to printf()?
c Describe about storage allocation and scope of global, extern, static, local and register
variables?
c Difference : Strings and Arrays?
c Difference : Structure and Unions?
c Difference : arrays and linked list?
c Difference : enumeration and set of pre-processor # defines?
c Difference : functions memmove() and memcpy()?
c Difference : functions rand(), random(), srand() and randomize()?
c Difference : main() in C and main() in C++?
c Difference : pass by reference and pass by value?
c Difference : strdup and strcpy?
c Differentiate between for loop and while loop? it uses?
c Does mentioning array name gives base address in all contexts?
c Does there exist any other function that can be used to convert integer or float to string?
c Does there exist any way to make command line arguments available to other functions
without passing them as arguments to function?
c Explain one method to process entire string as one unit?
c How are Structure passing and returning implemented by complier?
c How can called function determine number of arguments that have been passed to it?
c How can we check whether contents of two structure variables are same or not?
c How can we read/write Structures from/to data files?
c How much maximum can you allocate in single call to malloc()?
c How will you declare array of three function pointers where each function receives two ints
and returns float?
c If we want that any wildcard characters in command line arguments should be appropriately
expanded, are we required to make any special provision? If yes, that?
c In header file whether functions are declared or defined?
c In header files whether functions are declared or defined?
c Increase size of dynamically allocated array?
c Increase size of statically allocated array?
c Out of fgets() and gets() that function is safe to use and why?
c Program : compare two strings without using strcmp() function.
c Program : concatenate two strings.
c Program : find Factorial of number.
c Program : generate Fibonacci Series?
c Program : interchange variables without using third one.
c Program : s for String Reversal. same for Palindrome check.
c Program : that employs Recursion?
c Program : that uses command line arguments.
c Program : that uses functions like strcmp(), strcpy(), etc.
c To that numbering system can binary number be easily converted to?
c Use bsearch() function to search name stored in array of pointers to string?
c Use functions fseek(), freed(), fwrite() and ftell()?
c Use functions memcpy(), memset(), memmove()?
c Use functions randomize() and random()?
c Use functions sin(), pow(), sqrt()?
c Use qsort() function to sort array of structures?
c Use qsort() function to sort name stored in array of pointers to string?
c What advantages of using Unions?
c What do functions atoi(), itoa() and gcvt() do?
c What do µc¶ and µv¶ in argc and argv stand for?
c What does error µNull Pointer Assignment¶ mean and what causes this error?
c What does static variable mean?
c What is NULL Macro? Difference : NULL Pointer and NULL Macro?
c What is NULL Pointer? Whether it is same as uninitialized pointer?
c What is far pointer? where we use it?
c What is linklist and why do we use it when we have arrays? ± I feel correct answer should be
linklist is used in cases where you don¶t know memory required to store datastructure and need
to allocate is dynamically on demand.
c What is maximum combined length of command line arguments including space between
adjacent arguments?
c What is near, far and huge pointers? How many bytes are occupied by them?
c What is object file? How can you access object file?
c What is pointer?
c What is recursion?
c What is similarity between Structure, Union and enumeration?
c What is static identifier?
c What is structure?
c What is use of typedef?
c When reallocating memory if any other pointers point into same piece of memory do you have
to readjust these other pointers or do they get readjusted automatically?
c Where are auto variables stored?
c Where does global, static, local, register variables, free memory and C Program instructions
get stored?
c Write down equivalent pointer expression for referring same element a[i][j][k][l]?
c advantages of using pointers in program?
c advantages of using typedef in program?
c bit fields? What is use of bit fields in Structure declaration?
c declare following: array of three pointers to chars, array of three char pointers, pointer to array
of three chars, pointer to function that receives int pointer and returns float pointer, pointer to
function that receives nothing and returns nothing
c detect loop in linked list?
c differences between malloc() and calloc()?
c differences between structures and arrays?
c different storage classes in C?
c dynamically allocate one-dimensional and two-dimensional array of integers?
c enumerations?
c implement substr() function that extracts sub string from given string?
c macros? advantages and disadvantages?
c obtain current time and Difference : two times?
c obtain segment and offset addresses from far address of memory location?
c print string on printer?
c register variables? advantage of using register variables?
c that function should be used to free memory allocated by calloc()?
c that header file should you include if you are to develop function that can accept variable
number of arguments?