Saturday 9 September 2017

Vowel count separately Program

Q : Write a program to calculate number of vowels (a,e,i,o,u) separately in an entered string.?

Solution :


#include<stdio.h>
void main()
{
     int a,e,i,o,u,index;
     char str[50];
     a=e=i=o=u=0;
     printf("Enter string>> ");
     gets(str);
     for(index=0;str[index]!='\0';index++)
     {
          switch(str[index

Thursday 7 September 2017

CSS Media Query

<html>
<head>
<title>@Media Query Girfa</title>
<style>
.container h1
{
     margin-top:15%;
     font-size:4em;
      line-height: 1.2em;
    text-transform: uppercase;
    font-weight: bold;

Wednesday 6 September 2017

Identifier C Language

Identifier is user defined name given to function, variable, structure, union, array etc. followings are rules to name an identifier.
  • Name must be start with alphabet or underscores
  • An identifier may have numbers but not used as first c

Saturday 2 September 2017

M3-R4: PROGRAMMING AND PROBLEM SOLVING THROUGH ‘C’ LANGUAGE July- 2013 Answer

 M3-R4: PROGRAMMING AND PROBLEM SOLVING THROUGH ‘C’ LANGUAGE July- 2013, Answer

1. Multiple Choice

1.1 : D
Explanation :  Smallest individual unit of program is known token. Eg. (,},1,A,;

1.2 : A