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).
Given only putchar (no sprintf, itoa, etc.) write a routine putlong that prints out an unsigned long in decimal.
6 Answers Fusion Systems GmbH,
abcdedcba abc cba ab ba a a
Write a routine to implement the polymarker function
Ramesh’s basic salary is input through the keyboard. His dearness allowance is 40% of basic salary, and house rent allowance is 20% of basic salary. Write a program to calculate his gross salary.
main() { char s[ ]="man"; int i; for(i=0;s[ i ];i++) printf("\n%c%c%c%c",s[ i ],*(s+i),*(i+s),i[s]); }
main() { char *p; p="Hello"; printf("%c\n",*&*p); }
find simple interest & compund interest
Declare an array of N pointers to functions returning pointers to functions returning pointers to characters?
#include<stdio.h> main() { char s[]={'a','b','c','\n','c','\0'}; char *p,*str,*str1; p=&s[3]; str=p; str1=s; printf("%d",++*p + ++*str1-32); }
what will be the position of the file marker? a: fseek(ptr,0,SEEK_SET); b: fseek(ptr,0,SEEK_CUR);
why array index always strats wuth zero?
main() { printf("%d", out); } int out=100;