C Programming Question and Answers
89. | What is the difference between memcpy() and memmove() functions in C? |
---|---|
|
|
90. | What is a newline escape sequence? |
---|---|
A newline escape sequence is represented by the \n character. This is used to insert a new line when displaying data in the output screen. More spaces can be added by inserting more \n characters. For example, \n\n would insert two spaces. A newline escape sequence can be placed before the actual output expression or after. | |
91. | Suppose a global variable and local variable have the same name. Is it is possible to access a global variable from a block where local variables is defined? |
---|---|
No. It is not possible in C. It is always the most local variable that gets preference. | |
92. | What is a sequential access file? |
---|---|
|
|