How can i get each string elements of array by a string in Standart C

Questions : How can i get each string elements of array by a string in Standart C

605
char _OFFSET);  *cmd={
'9436',
'1,1,1331,0700',
'1,1,2030,2100',
'1,3,1230,1300',
'1,4,1230,1300',
'2,1,1230,1300',
'2,2,0830,0900',
'2,3,1230,1300',
'2,4,1230,1300',
'3,5,0530,0600',
'4,5,0530,0600'
};

i want to print each elements by string programming like '9436', '1,1,1331,0700', ... but it Learning doeasnt work.

my wrong code is :

int main(){
for(int i=0; i<5; i++){
  (-SMALL    printf( "%s", (string))cmd[i] );
}

Thanks...

Total Answers 0

Top rated topics

Com.google.android.gms.vision.ica not found

Does Arduino use C or C++?

Dapr app channel not initialized, make sure -app-port is specified if pubsub subscription is required

Creating an object builder with error handling using Arrow - Pattern match multiple Eithers

Trying to mock datetime.date.today(), but not working

Python Group and aggregate unidirectionally a list of dictionaries by multiple keys

How to use count() in serializers?

Changing width and height of svg file

How to replace previous value with new calculated value

Python : banker's rounding

How to auto refresh documentation based on an API specification in Postman

How can I use refresh token with retrofit 2 to get new access token

How do I assert that a scrollable TabLayout is currently showing a certain tab?

How to get last version of build in Nexus repository?

Can't increase IntelliJ memory heap

Error while running python code in Debian11

How to check if an element has two specific child?

Get value of key in nested array of objects (RxJS Observable)

Different variable imputed values using same predictor variables mice R

Inserting new record which was already existing in PostgreSql

First function call success, second call fails. (Solidity with Hardhat)

Clipboard API - Copy anchor tag href URL returns writeText undefined?

Cannot bind parameter because parameter 'azure_owner' is specified more than once

Ipfs-update isn't showing the expected version list

How to define the Authorization header with a custom prefix in OpenAPI 3?

Export pdf from maatwebsite/excel has error

File upload saving the folder instead of the file

Catching an exception in the right place

Python subprocess permissionerror

Is it possible to set the UiMode of android programmatically to UI_MODE_TYPE_TELEVISION

Avoid enter dot in input field

Why do I get a "read-only file system" error when I scp an EC2 directory?

C++ Setup For VS Code

How do I update deeply nested array with hooks in react?

CSS max value limit for Number types variable properties

Python: dynamic keys in nested dictionary

How do i get the value present in first double quotes?

Offset values in Excel - Offset formula does not seem to be the correct use case

How to share localhost port over local network

Binary Hamming Distance

Getting error while installing Mapbox-iOS-SDK in flutter project

Get time series in 10 minutes of interval

Using entry component in lazy loaded modules giving "No component factory found for Component. Did you add it to @NgModule.entryComponents?"

React Functional Components change state of parent from child without rendering all children

Red-Black Tree delete related functions implementation - RBT Minimum - Segmentation Fault

Using node.js's File System functions from a browser

Transferring files from a subdirectory

Countif like excel function in r

Network Error on calling API in React Native from few specific Android devices

Lambda Functions don't send proper error logs to the Given email

Top