Write a program that his output * *** *****
Answer / srujitha
int main()
{
int n = 5;
for( int i = 0; i <= n; i = i + 2)
{
for( int j = 0; j<=i;j++)
{
printf("*");
}
printf(" ");
}
| Is This Answer Correct ? | 3 Yes | 0 No |
An application package has been provided to you without any documents for the following application. The application needs to be tested. How will you proceed?
Explain what is the best way to comment out a section of code that contains comments?
How to use c/c++ code in JAVA
10 Answers CDAC, IBM, Satyam, Scope International,
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
What is this infamous null pointer, anyway?
#include<stdio.h> #include<conio.h> void main() { clrscr(); int a=0,b=0,c=0; printf("enter value of a,b"); scanf(" %d %d",a,b); c=a+b; printf("sum is %d",c); getch(); }
How can I get the current date or time of day in a c program?
without using arithmatic operator convert an intger variable x into x+1
explain what are actual arguments?
What are run-time errors?
Explain what is a const pointer?
Explain what math functions are available for integers? For floating point?