What is undefined behavior?



What is undefined behavior?..

Answer / nashiinformaticssolutions

A program behavior that is not defined by the C standard, e.g., dividing by zero.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Interview Questions

Explain what is the difference between the expression '++a' and 'a++'?

0 Answers  


write a c program to find the sum of five entered numbers using an array named number

0 Answers   TATA,


difference between the array and linked list general difference related to memory

2 Answers  


How can I write functions that take a variable number of arguments?

0 Answers  


1.what are local and global variables? 2.what is the scope of static variables? 3.what is the difference between static and global variables? 4.what are volatile variables? 5.what is the use of 'auto' keyword? 6.how do we make a global variable accessible across files? Explain the extern keyword? 7.what is a function prototype? 8.what does keyword 'extern' mean in a function declaration?

2 Answers   nvidia,


What kind of structure is a house?

0 Answers  


how to swap two nubers by using a function with pointers?

1 Answers  


Read two numbers from keyboard and find maximum of them?

1 Answers  


What is the maximum no. of arguments that can be given in a command line in C.?

0 Answers   HCL,


How can I increase the allowable number of simultaneously open files?

1 Answers   CSC,


WAP TO ACCEPT STRING AND COUNT A COMES N TIMES B COMES N TIMES C COMES N TIMES D COMES N TIMES AND SO ON......... AT LAST UNTIL Z COMES N TIMES...............

3 Answers  


What does extern mean in a function declaration?

4 Answers  


Categories