What is the difference between char a[] = "string"; and char *p = "string"; ?
Uninitialized variables with "static" duration start out as 0, as if the programmer had initialized them. Variables with "automatic" duration,...
I can't seem to define a linked list node which contains a pointer to itself.
I am using "AfxBeginThread". Trying to startup (2) threads within my OnInitDialog function, as below;...
I have a global variable "LampRadiance" that is being updated by thread #2, another thread (thread #1) uses this variable, are there any tricks in...
The Clone() method returns a new array (a shallow copy) object containing all the elements in the original array. The CopyTo() method copies the...
1.Does C# support multiple-inheritance? 2.Are private class-level variables inherited? 3. What does the term immutable mean? 4. What’s the...
Its doing exactly the correct thing getting one character at a time. The problem is that you have two sources going to the same device....
*/ void push(int *stk) { register int i,j; top+=1; if(top==SIZE){ printf("\nOverflow of the stack");top-=1; } else { printf("\nEnter the...
Array uses direct access of stored members, list uses sequencial access for members. //With Array you have direct access to memory position 5...
The free subroutine frees a block of memory previously allocated by the malloc subroutine. Undefined results occur if the Pointer parameter is not...
No. This is a wrong answer.It will return a garbage value but i dont know why.
What happens when if will write the value in array subscript operator which is beyond the size of array?
this didnot run.please help.
Write a function which accepts a string as a parameter and returns the number of vowels in the string.
Preprocessor directives are already in binary form so dont get compiled ..get attached during compilation of rest of the codes and are executed...
What is the output? #include<stdio.h> main(0 { const int val=5; const int *ptrval; ptrval=&val; *ptrval=10; printf("%d",val); }
Cannot give all the answers but can give that of the following: Why a function cannot be declared with in another function? ANS: IF WE...
A computer cannot understand the spoken or written language that we humans use in our day to day conversations, and likewise, we cannot understand...
Separate names with a comma.