How does pointer work in c?
main() { int l=6; switch(l) { default:l=l+2; case 4:l=4; case 5:l++; break; } printf("%d",l); }
Differentiate call by value and call by reference?
What are categories used for in c?
What is the meaning When we write "#include" what is # and what does include does there???
what is an inline fuction??
How to convert a binary number to Hexa decimal number?? (Note:Do not convert it into binary and to Hexadecimal)
How to avoid buffer overflow?
What is the use of ?: Operator?
Write a program that takes a 5 digit number and calculates 2 power that number and prints it.
5 Answers TCS, Vimukti Technologies,
What is the purpose of the following code? Is there any problem with the code? void send(int count, short *to, short *from) { /* count > 0 assumed */ register n = (count + 7) / 8; switch (count % 8) { case 0: do { *to = *from++; case 7: *to = *from++; case 6: *to = *from++; case 5: *to = *from++; case 4: *to = *from++; case 3: *to = *from++; case 2: *to = *from++; case 1: *to = *from++; } while (--n > 0); } }
write a programme that inputs a number by user and gives its multiplication table.
What are identifiers and keywords in c?