How does the assert() function work?

Answers were Sorted based on User's Feedback



How does the assert() function work?..

Answer / nashiinformaticssolutions

How does the assert() function work?

Is This Answer Correct ?    0 Yes 0 No

How does the assert() function work?..

Answer / glibwaresoftsolutions

assert() checks a condition at runtime. If false, it terminates the program.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Interview Questions

who is the editor of 'pokemon'?

1 Answers  


write a program to generate 1st n fibonacci prime number

2 Answers  


What is the output of the program given below #include<stdio.h> main() { char i=0; for(;i>=0;i++) ; printf("%d\n",i); }

21 Answers   ADITI, Student, TCS,


What is %s and %d in c?

0 Answers  


Why is a semicolon (;) put at the end of every program statement?

0 Answers  


Explain how can you be sure that a program follows the ansi c standard?

0 Answers  


Write a code to achieve inter processor communication (mutual exclusion implementation pseudo code)?

0 Answers  


Is there any data type in c with variable size?

0 Answers  


What standard functions are available to manipulate strings?

0 Answers  


What is self-referential structure in c programming?

0 Answers  


what will be the output of the following program, justify? #define TEST int TEST getdata() { static i; i+=10; return i; } main() { int k; k = getdata(); }

3 Answers  


i am using gsm modem ! I USE CMGL COMMAND TO DISPLAY THE LIST OF MESSAGES ! I WANT TO READ EACH MESSAGE ONE BY ONE AND GET EACH MESSAGE INDEX USING C PROGRAM ! THE RESPONSE OF THE MODULE AFTER AT+CMGL IS ---CMGL: 1,"REC READ","+85291234567",,"07/05/01,08:00:15+32",145,37 It is easy to list SMS text messages.---- I WANT THE PROGRAM TO GET THE NUMBER "37"{MESSAGE LENGTH} AS WELL AS "1"(MESSAGE INDEX NUMBER" PLEASE HELP

1 Answers   MTNL,


Categories