Tell us the difference between these two :
#include"stdio.h"
#include<stdio.h>
define in detial.
Answer Posted / arif
"stdio.h" linker search the header file in the current directory
<stdio.h> linker search the header file in all the directories
| Is This Answer Correct ? | 15 Yes | 2 No |
Post New Answer View All Answers
What is a nested loop?
You have given 2 array. You need to find whether they will
create the same BST or not.
For example:
Array1:10 5 20 15 30
Array2:10 20 15 30 5
Result: True
Array1:10 5 20 15 30
Array2:10 15 20 30 5
Result: False
One Approach is Pretty Clear by creating BST O(nlogn) then
checking two tree for identical O(N) overall O(nlogn) ..we
need there exist O(N) Time & O(1) Space also without extra
space .Algorithm ??
DevoCoder
guest
Posted 3 months ago #
#define true 1
#define false 0
int check(int a1[],int a2[],int n1,int n2)
{
int i;
//n1 size of array a1[] and n2 size of a2[]
if(n1!=n2) return false;
//n1 and n2 must be same
for(i=0;i
What are volatile variables in c?
Why & is used in scanf in c?
Differentiate abs() function from fabs() function.
What is dynamic variable in c?
What does the file stdio.h contain?
What does main () mean in c?
How can you tell whether a program was compiled using c versus c++?
What is wrong with this statement? Myname = 'robin';
What is the purpose of the preprocessor directive error?
What is an array? What the different types of arrays in c?
What is getch c?
GIVEN A FLOATING POINT NUMBER HOW IS IT ACTUALLY STORED IN MEMORY ? CAN ANYONE EXPLAIN?? THE 32 BIT REPRESENTATION OF A FLOATING POINT NUMBER ALLOTS: 1 BIT-SIGN 8 BITS-EXPONENT 23 BITS-MANTISSA
Why c is called procedure oriented language?