How to reverse a string using a recursive function, without swapping or using an extra memory?
31 102779#include
Determine the code below, tell me exactly how many times is the operation sum++ performed ? for ( i = 0; i < 100; i++ ) for ( j = 100; j > 100 - i; j--) sum++;
5 9486int main() { int *p=new int; *p=10; del p; cout<<*p; *p= 60; cout<<*p; } what will be the output & why?
TCS,
4 12607
What are the scope of static variables?
Explain how many levels deep can include files be nested?
Why is a semicolon (;) put at the end of every program statement?
What is difference between stdio h and conio h?
How can I find out if there are characters available for reading?
What is the auto keyword good for?
Write a code on reverse string and its complexity.
Difference between malloc() and calloc() function?
what will be the output for the following main() { printf("hi" "hello"); }
What are the 4 data types?
What is output redirection?
What is #line?
How do I use strcmp?
What is printf () in c?
What is meant by gets in c?