Write a program to check armstrong number in c?
Write a program to write a given string in maximum possibilities? i.e str[5]="reddy"; i.e we can write this string in 120 ways for that write a program
Write a C function to search a number in the given list of numbers. donot use printf and scanf
What are the languages are portable and platform independent?Why they are like that?
Given a single Linked list with lakhs of nodes and length unknown how do you optimally delete the nth element from the list?
A marketing company wishes to construct a decision table to decide how to treat clients according to three characteristics: Gender, City Dweller, and age group: A (under 30), B (between 30 and 60), C (over 60). The company has four products (W, X, Y and Z) to test market. Product W will appeal to female city dwellers. Product X will appeal to young females. Product Y will appeal to Male middle aged shoppers who do not live in cities. Product Z will appeal to all but older females.
What should malloc(0) do? Return a null pointer or a pointer to 0 bytes?
main() { int a,b; printf("%d,%d",scanf("%d%d",&a,&b)); } => do u mean above program's output... =>output will be:2,whatever you enter value for b. =>because scanf is a library fn which will return how many arguements it processes, and second value you are right mr.Satya but i found my self unable to understand that for the first time scanf returns the no of successful matches but how for the second time it returns the value of 'b'.while a function should return the same 'r' value every time.
Mention four important string handling functions in c languages .
What is #pragma statements?
write a reverse string to print a stars.(with out using logic) ***** **** *** ** *
Write a program to exchange two variaables without temp
How many types of functions are there in c?