what is the function of .h in #include<stdio.h> in c ?
Answer Posted / farhan ejaz
#includestdio.h is a function which control the input and
output function likeb printf and scanf
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What does == mean in texting?
What are the benefits of c language?
Do array subscripts always start with zero?
i have a written test for microland please give me test pattern
Why cant I open a file by its explicit path?
What is a static variable in c?
what is the differnce between programing langauge and tool? is sas is a programing langauge r tool?
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 was noalias and what ever happened to it?
Why we not create function inside function.
How are 16- and 32-bit numbers stored?
What do you understand by friend-functions? How are they used?
Badboy is defined who has ALL the following properties: Does not have a girlfriend and is not married. He is not more than 23 years old. The middle name should be "Singh" The last name should have more than 4 characters. The character 'a' should appear in the last name at least two times. The name of one of his brothers should be "Ram" Write a method: boolean isBadBoy(boolean hasGirlFriend , boolean isMarried, int age , String middleName , String lastName , String[] brotherName); isHaveGirlFriend is true if the person has a girlfriend isMarried is true if the person is married age is the age of the person middleName is the middle name of the person lastName is the last name of the person brotherName is the array of the names of his brothers
What oops means?
What is the size of structure in c?