write a c program to Create a registration form application
by taking the details like username, address,
phone number, email along with password and confirm password
(should be same as password).Ensure that the password is of
8 characters with only numbers and alphabets. Take such
details for 5 users and display the details. In place of
password display “****”. (Use Structures).
No Answer is Posted For this Question
Be the First to Post Answer
how to return a multiple value from a function?
main() { show(); } void show() { printf("I'm the greatest"); }
#define prod(a,b) a*b main() { int x=3,y=4; printf("%d",prod(x+2,y-1)); }
void main() { char ch; for(ch=0;ch<=127;ch++) printf(“%c %d \n“, ch, ch); }
# include<stdio.h> aaa() { printf("hi"); } bbb(){ printf("hello"); } ccc(){ printf("bye"); } main() { int (*ptr[3])(); ptr[0]=aaa; ptr[1]=bbb; ptr[2]=ccc; ptr[2](); }
How will you print % character? a. printf(“\%”) b. printf(“\\%”) c. printf(“%%”) d. printf(“\%%”)
There are 21 people in a room. They have to form groups of 3 people each. How many combinations are possible? Write a C program to print the same.
write a c-program to find gcd using recursive functions
main() { int i; i = abc(); printf("%d",i); } abc() { _AX = 1000; }
program to find magic aquare using array
#include <stdio.h> int main(void) { int a=4, b=2; a=b<<a+b>>2 ; printf("%d",a); return 0; }
main() { char *a = "Hello "; char *b = "World"; clrscr(); printf("%s", strcpy(a,b)); } a. “Hello” b. “Hello World” c. “HelloWorld” d. None of the above
4 Answers Corporate Society, HCL,