what is stack , heap ,code segment,and data segment
Why we use conio h in c?
A function can make the value of a variable available to another by a) declaring the variable as global variable b) Passing the variable as a parameter to the second function c) Either of the two methods in (A) and (B) d) binary stream
How do I swap bytes?
if the address of a[1,1] and a[2,1] are 1000 and 1010 respectively and each occupies 2 bytes then the array has been stored in what order?
4 Answers Amazon, Apple, Bata, Google, NASA,
What is main function in c?
What should malloc(0) do? Return a null pointer or a pointer to 0 bytes?
Which is not valid in C a) class aClass{public:int x;}; b) /* A comment */ c) char x=12;
Differentiate between a for loop and a while loop? What are it uses?
Why c is a procedural language?
What is the output of the following program #include<stdio.h> main() { int i=0; fork(); printf("%d",i++); fork(); printf("%d",i++); fork(); wait(); }
Which is an example of a structural homology?
Why malloc is faster than calloc?