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 |
What are local and global variables?
what is an inline function?
How to declare a variable?
#include<stdio.h> main() { int a[3]; int *I; a[0]=100;a[1]=200;a[2]=300; I=a; Printf(“%d\n”, ++*I); Printf(“%d\n”, *++I); Printf(“%d\n”, (*I)--); Printf(“%d\n”, *I); } what is the o/p a. 101,200,200,199 b. 200,201,201,100 c. 101,200,199,199 d. 200,300,200,100
What are the differences between Structures and Arrays?
WHAT IS PRE POSSESSORS?
1 1 1 1 2 1 1 3 3 1 1 4 6 4 1
Explain this code. #include <stdio.h> void f1(int *k) { *k = *k + 10; } main ( ){ int i; i = 0; printf (" The value of i before call %d \n", i); f1 (&i); printf (" The value of i after call %d \n", i); }
how we can make 3d venturing graphics on outer interface
Write a program to produce the following output: 1 2 3 4 5 6 7 8 9 10
what does ‘Bus Error’ mean?
What is the difference between struct and typedef struct in c?