what is disadvantage of pointer in C
Answer Posted / ami
normally pointer workes with address and if we can find the
address of any locatiion of hardware any one can easly
currpt the data that is the bigest problem with pointer but
still the os is written in c language that is not understand
by me
| Is This Answer Correct ? | 6 Yes | 2 No |
Post New Answer View All Answers
How can a number be converted to a string?
Mention four important string handling functions in c languages .
What is sizeof int in c?
Hai what is the different types of versions and their differences
Do you know the difference between malloc() and calloc() function?
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
Why do we use c for the speed of light?
if a is an integer variable, a=5/2; will return a value a) 2.5 b) 3 c) 2 d) 0
Explain the advantages of using macro in c language?
Explain how can I manipulate strings of multibyte characters?
Tell us bitwise shift operators?
What are the features of the c language?
What is a char c?
Explain how can you avoid including a header more than once?
Differentiate between full, complete & perfect binary trees.