what are threads ? why they are called light weight
processes ? what is the relation between process and threads ?
thread is an execute the more process an single process
| Is This Answer Correct ? | 2 Yes | 1 No |
c programming of binary addition of two binary numbers
a=10;b= 5;c=3;d=3; if(a printf(%d %d %d %d a,b,c,d) else printf("%d %d %d %d a,b,c,d);
main() { printf("\n %d %d %d",sizeof('3'),sizeof("3"),sizeof(3)); } wat is the o/p and how?
Differentiate between static and dynamic modeling.
24.what is a void pointer? 25.why arithmetic operation can’t be performed on a void pointer? 26.differentiate between const char *a; char *const a; and char const *a; 27.compare array with pointer? 28.what is a NULL pointer? 29.what does ‘segmentation violation’ mean? 30.what does ‘Bus Error’ mean? 31.Define function pointers? 32.How do you initialize function pointers? Give an example? 33.where can function pointers be used?
Explain logical errors? Compare with syntax errors.
f=(x>y)?x:y a) f points to max of x and y b) f points to min of x and y c)error
Explain union.
what is difference b/w extern & volatile variable??
what is the use of using linked list and array?
What is the difference between int main and void main in c?
What is the difference between mpi and openmp?