1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Mrrafil [7]
3 years ago
14

Write a C Program to Print the initial letter of Name Ferdous

Computers and Technology
1 answer:
Murrr4er [49]3 years ago
5 0

Answer:

The answer to this question is given below in the explanation section.

Explanation:

The question is about writing a C program that prints the initial letter of Name Ferdous.

Therefore, below is the given complete code that prints the first letter of the name Ferdous.

<em>#include <stdio.h> </em><em>/*import strandard input/output library*/</em>

<em>#include<string.h></em><em> /*import string library to handle string type of data*/</em>

<em> </em>

<em>int main(void) </em><em> /*started the program execution- program entry point*/</em>

<em>{ </em>

<em>char *str = "Firdous";</em><em>   /*char to pointer str contains string "Firdous"*/</em>

<em>int len = strlen(str);  </em><em> /*this line of code is not neccary, but if you print other character for example last character of the name then you can use it*/</em>

<em>printf("First Letter of the name is: %c", str[0]); </em><em>  /*print first letter of the name*/</em>

<em>} </em><em>  /**program terminated*/</em>

You might be interested in
When called upon to give an impromptu speech, it is a good idea to do all of the following, except:
schepotkina [342]
C. Taking a long time to decide your message

Since it's impromptu I would think you'd want to think about what you'd say quickly. (I'm pretty sure)
5 0
3 years ago
Read 2 more answers
Ups developed software called ____ to enable u.s. customs and border protection agents to inspect packages that pass through the
LekaFEV [45]

Ups developed software called <u>target search</u> to enable u.s. customs and border protection agents to inspect packages that pass through the worldport international hub in louisville.

An American international shipping, receiving, and supply chain management corporation, United Parcel Service, was established in 1907. The American Messenger Firm, which first specialized in telegraphs, evolved into UPS, one of the biggest shipping couriers in the world and a Fortune 500 company.

Today, UPS is most well-known for its ground delivery services and the UPS Store, a retail network that helps UPS packages and offers equipment for small businesses.

Learn more about UPS brainly.com/question/27583268

#SPJ4

8 0
1 year ago
Which of the following helps create a positive community?
Lera25 [3.4K]

Answer: D.) all of the above

Explanation: By doing all three of these it makes almost everyone in the community is happier and more positive which is better than the bully's & people who don't speak up feel less entitled, it achieves the goal.

5 0
3 years ago
The…..executed simple
Lina20 [59]

Answer:

ok ok

Explanation:

7 0
2 years ago
Read 2 more answers
Which of the following is NOT areserved word in Java?intpublicstaticnum
Rama09 [41]

Answer:

num

Explanation:

In java reserved words are also known as keywords, keywords are reserve words for a language that can't be used as an identifier(name of a class, name of a variable, name of an array etc.) int, public static, are reserve words.

In given question num is not a reserved word.

6 0
3 years ago
Other questions:
  • This was not a "true" operating system, but rather an operating environment.
    5·1 answer
  • Populate a one-dimensional array with the following grades in this order: 90, 61, 74, 42, 83, 51, 71, 83, 98, 87, 94, 68, 44, an
    15·1 answer
  • What does a data bar in a cell represents​
    12·2 answers
  • Which one of the following will not be considered as a microcomputer?
    12·2 answers
  • For this lab, you will work on a simple GUI application. The starting point for your work consists of four files (TextCollage, D
    5·1 answer
  • An organization is trying to decide which type of access control is most appropriate for the network. The current access control
    12·1 answer
  • Apple's macOS and Microsoft Windows are examples of ________ software. utility application communication operating system
    13·1 answer
  • python Consider this data sequence: "3 11 5 5 5 2 4 6 6 7 3 -8". Any value that is the same as the immediately preceding value i
    7·1 answer
  • You are writing a program to help compare two sports teams. A sample member of the list scores is [2. 5] where your team scored
    5·2 answers
  • What are common considerations businesses need to make before purchasing new computers? Check all of the boxes that apply.
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!