What would the following code segment printint k = 8;docout << "k = " << k << "
";while k++ < 5;
a) 13
b) 5
c) 8
d) pointers
No Answer is Posted For this Question
Be the First to Post Answer
which is conditional construct a) if statement b) switch statement c) while/for d) goto
Meaning of () in c
c program to add and delete an element from circular queue using array
What is volatile c?
difference between semaphores and mutex?
Is c call by value?
program to print circle structure
What will be result of the following program? void myalloc(char *x, int n) { x= (char *)malloc(n*sizeof(char)); memset(x,\0,n*sizeof(char)); } main() { char *g="String"; myalloc(g,20); strcpy(g,"Oldstring"); printf("The string is %s",g); } a) The string is : String b) Run time error/Core dump c) The string is : Oldstring d) Syntax error during compilation e) None of these
How is a pointer variable declared?
What does it mean when the linker says that _end is undefined?
write a c program that if the given number is prime, and their rearrangement(permute) of that number is also prime. Ex: Input is "197" is prime Output: 791,917,179 is also prime. Please any one tell me tha code for that
What are the loops in c?