Start Discovering Solved Questions and Your Course Assignments
TextBooks Included
Active Tutors
Asked Questions
Answered Questions
what is meant by opening a data filea data file is a file that can be read from or written to data files are particularly useful when large amounts
how can a function return a pointer to its calling routinethe general form of a function istypespecifier functionnameparameter listbody of
write a short note on pointer operators in cpointers that is pointer values are generated with the address-of operator amp which we can also think of
write a short note on pointer declarationa simple variable in a program is stored in a certain number of bytes at a particular memory location or
define the difference between union and structurethe main difference between union and structure is the storage allocation in union for each
what is the main use of structuresthe main use of structures is to lump together collections of disparate variable types so they can conveniently
what is a union a union like a structure is a derived type unions follow the same syntax as structures but have members that share storage a union
explain advantage of static storage classthe second and more subtle use of static is in connection with external declarations with external
explain the storage class static the storage class static static declarations have two important and distinct uses the more elementary use is to
the storage class registerthe storage class register the storage class register tells the compiler that the associated variable should be
explain the storage class extern the storage class extern one method of transmitting information across blocks and functions is to use external
explain the storage class autothe storage class auto variables declared within function bodies are automatic by default thus automatic is the most
write a short notes on storage classes in cevery variable and function in c has two attributes type and storage class the four storage classes are
explain definition of fibonacciwhere an input value gives a trivial result it is returned directly otherwise the function calls itself passing a
syntax of recursionint fibint num fibonacci value of a number switchnum case 0 return0 breakcase 1 return1 breakdefault
explain the term recursiona recursive function is one which calls itself recursive functions are useful in evaluating certain types of mathematical
give the syntax switch statements consider the following example this is a function which converts an integer into a vague description it is
switchthis is another form of the multi way decision it is well structured but can only be used in certain cases where only one variable is tested
what is compound statementif we wish to have more than one statement following the if or the else they should be grouped together between curly
give the syntax of if-else and switch statements and explainif elsethis is used to decide whether to do something at a special point or to decide
what is a symbolic constant how it is defined symbolic constants are constants of any type declared by using the define compiler directive it is a
bring out the importance of hierarchy of operators the operators within c are grouped hierarchically according to their precedenceie
explain branch instruction with control signals and explain shift instruction with control signals explain register transfer languagewhat do you
q why timing signal distributor requiredwhat do you mean by memory cycle how many memory cycles required for following instructions1 add 2 clear
q explain instruction cycle and execution cycle and also explain instruction counter memory address register and memory buffer