How to reverse a string using a recursive function, without swapping or using an extra memory?
31 103573#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 9662int main() { int *p=new int; *p=10; del p; cout<<*p; *p= 60; cout<<*p; } what will be the output & why?
TCS,
4 12735
I was asked to write a program in c which when executed displays how many no.of clients are connected to the server.
Why do we use static in c?
explain what is an endless loop?
What are all different types of pointers in c?
Write a C program to accept a matrix of any size. Find the frequency count of each element in the matrix and positions in which they appear in the matrix
What is a good data structure to use for storing lines of text?
console I/O functions means a) the I/O operations done on disk b) the I/O operations done in all parts c) the input given through keyboard is displayed VDU screen d) none of the above
Write a program that accept anumber in words
Why & is used in scanf in c?
How variables are declared in c?
What is scope rule of function in c?
What is logical error?
What are header files in c?
explain how do you use macro?
How are pointers declared in c?