write a program without using main function?
Answers were Sorted based on User's Feedback
Answer / raavi.swami
#include<stdio.h>
#define begin main
void begin()
{
printf("Hello");
}
| Is This Answer Correct ? | 27 Yes | 2 No |
Answer / siva koratani
#include<stdio.h>
#define begin m##a##i##n
void begin()
{
printf("Hello");
}
| Is This Answer Correct ? | 7 Yes | 2 No |
Write a C++ program to generate 10 integer numbers between - 1000 and 1000, then store the summation of the odd positive numbers in variable call it sum_pos, then find the maximum digit in this variable regardless of its digits length.
Write a c program to read a positive number and display it in words.? ex: 123=one two three help me....
List the difference between a 'copy constructor' and a 'assignment operator' in C?
Can a file other than a .h file be included with #include?
What are different storage class specifiers in c?
List at least 10 sorting methods indicating their average case complexity, worst case complexity and best case complexity.
What will be the result of the following program? char*g() { static char x[1024]; return x; } main() { char*g1="First String"; strcpy(g(),g1); g1=g(); strcpy(g1,"Second String"); printf("Answer is:%s", g()); } (A) Answer is: First String (B) Answer is: Second String (C) Run time Error/Core Dump (D) None of these
int x=sizeof(!5.856); What will value of variable x?
write c program without semicolon
11 Answers MindTech, TCS, Wipro,
Explain how can I manipulate strings of multibyte characters?
what do the 'c' and 'v' in argc and argv stand for?
Why can’t constant values be used to define an array’s initial size?