How does the assert() function work?
Answers were Sorted based on User's Feedback
Answer / nashiinformaticssolutions
How does the assert() function work?
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / glibwaresoftsolutions
assert() checks a condition at runtime. If false, it terminates the program.
| Is This Answer Correct ? | 0 Yes | 0 No |
Is it valid to address one element beyond the end of an array?
What kind of sorting is this? SORT (k,n) 1.[Loop on I Index] repeat thru step2 for i=1,2,........n-1 2.[For each pass,get small value] min=i; repeat for j=i+1 to N do { if K[j]<k[min] min=j; } temp=K[i];K[i]=K[min];K[min]=temp; 3.[Sorted Values will be returned] A)Bubble Sort B)Quick Sort C)Selection Sort D)Merge Sort
main() { struct s1 { char *str; struct s1 *ptr; }; static struct s1 arr[] = { {"Hyderabad",arr+1}, {"Bangalore",arr+2}, {"Delhi",arr} }; struct s1 *p[3]; int i; < BR> for(i=0;i<=2;i++) p[i] = arr[i].ptr; printf("%s ",(*p)->str); printf("%s ",(++*p)->str); printf("%s ",((*p)++)->str); }
the maximum length of a character constant can be a) 1 character b) 8 characters c) 256 chaacters d) 125 characters
How to write the code of the program to swap two numbers with in one statement?
how to write a program which adds two numbers without using semicolon in c
write a progam to display the factors of a given number and disply how many prime numbers are there?
what is the difference between NULL('\0') and 0?
How to find the digits truncation when assigning the interger variable to the character variables. like int i=500; char x = i : here we have truncation. how to find this. another ex: i =100; char x=i. here we do not have truncation.
Where static variables are stored in c?
Where is c used?
How variables are declared in c?